[Spambayes] What to do first?

Dan Mick dan.mick@sun.com
Mon, 23 Sep 2002 17:14:02 -0700


Tim Peters wrote:
> [Mark McEahern]
> 
>>Somewhat OT:  Is there an easy way to "backport" True/False to Python
>>2.2; e.g., adding them to __builtins__ in sitecustomize?  Or is that
>>braindead?
> 
> 
> Everyone using the 2.2 line *should* be using 2.2.1, and 2.2.1 already has
> True and False built in.  That should be fine for this project.  In 2.2.1
> they're just predefined names for the ints 0 and 1, but I don't believe this
> project is making any use of that bool is a distinct subclass of int in 2.3.

Well, it's a question of whether I build my own or not, and then getting it 
deployed on servers I don't control, which are both pains.  If it's just 
True/False I'd like to beg for relief.  (I've already hacked in "True = 1 
False = 0" into several of the scripts since that was the only immediate 
complaint.)