Actually, Python 2.3 has 'True' and 'False'... you can change the code to use True/False if you want, but it has to be capitalized like that to work.
Aubin On Mon, Sep 15, 2003 at 09:37:55PM +0200, Dirk Meyer wrote: > [EMAIL PROTECTED] wrote: > > * TRUE/FALSE wasn't working in Python 2.3... > > Strange. I only use 2.2.3, but the doc says Python 2.3 has TRUE and > FALSE. > > > # add TRUE and FALSE to __builtin__ for older python versions > > ! if float(sys.version[0:3]) < 2.3: > > __builtin__.__dict__['TRUE'] = 1 > > __builtin__.__dict__['FALSE'] = 0 > > --- 182,186 ---- > > > > # add TRUE and FALSE to __builtin__ for older python versions > > ! if float(sys.version[0:3]) < 2.4: > > __builtin__.__dict__['TRUE'] = 1 > > __builtin__.__dict__['FALSE'] = 0 > > If it's not working with 2.3, that we should remove the version > checking since there is no newer version. > > > Dischi > > -- > A much wittier reply came to mind immediately after I clicked the > 'Send' button. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Freevo-cvslog mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-cvslog ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog