From: David G. <d.l...@gm...> - 2011-03-24 01:30:05
|
Thanks for the clarification. Is __builtin__.set equivalent in API and functionality to sets.Set? If so, shouldn't the patch be as simple as removing those references? On Wed, Mar 23, 2011 at 5:18 PM, Mark Hammond <ski...@gm...> wrote: > On 24/03/2011 10:36 AM, Fox, Michael K wrote: >> >> The problem is in your code, not in py2exe. The 'sets' module is >> deprecated in Python 2.6 because 'set' was added as a new builtin class. >> See http://docs.python.org/library/stdtypes.html#set-types-set-frozenset > > Actually, py2exe has a couple of references to: > > from sets import Set as set > > Which I assume is the problem... > > Cheers, > > Mark > -- In science it often happens that scientists say, 'You know that's a really good argument; my position is mistaken,' and then they would actually change their minds and you never hear that old view from them again. They really do it. It doesn't happen as often as it should, because scientists are human and change is sometimes painful. But it happens every day. I cannot recall the last time something like that happened in politics or religion. - Carl Sagan, 1987 CSICOP address |