Re: [SQLObject] Error with True/False not defined
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Edmund L. <el...@in...> - 2003-07-14 19:08:07
|
James Cordiner wrote: > Is this a bug or am I just missing something? Do I need to be copying > the line (True, False = 1==1, 0==1) everywhere into my code? Just make sure you are using Python >= 2.2.3. True and False are part of the language as of this version. You need to upgrade anyway since Python 2.2 and earlier have a bug in the super() call for class methods, and this will eventually bite you as it did me. ...Edmund. |