I think I'm going to leave bool as bool and not int.  I was actually
considering implementing int separately later.  (for port numbers and
such)  I am going to stick to my guns and say that Python 2.3 is the
requirement.  Soon the code will have a check for that.  Otherwise I'm
going to find myself tracking down bugs that wouldn't exist if the user
weren't running an older version of python.  Besides, Python 2.3 has been
out since mid-2003.  =)

Daniel

-- 
"The most addictive drug in the world is music."
     - The Lost Boyz

> Yeah, I've found several places in Twisted that require 2.3, but the
> RedHat Python 2.2 seems to be able to run them all, except for booleans
> and generators (yield).
>
> We seem to have avoided any problems with those missing features until
> now, which has allowed people to run the transports under RedHat's
> Python 2.2. I recall it not working under Debian 2.2, and other weird
> problems cropping up every now and then.
>
> I think the safest thing to do is to require Python 2.3, especially
> considering that there seem to be quite a few unicode fixes from 2.2.
> I'll change xmlconfig to check for an int or bool so that it works in
> this case, and perhaps print a warning that if things break, it could
> be because of their Python version.
>
> Thoughts?
>
> ---
>
> James
>
>
>
> On 12/03/2005, at 12:41 AM, Daniel Henninger wrote:
>
>> I will also note that it's not hard to add a bool type for ourselves if
>> one does not exist:
>> http://aspn.activestate.com/ASPN/docs/ActivePython/2.2/peps/pep
>> -0285.html
>>
>> Daniel
>>
>> --
>> "The most addictive drug in the world is music."
>>      - The Lost Boyz
>>
>>> It's goint to take some time over here to upgrage to 2.3,  I don't
>>> have
>>> admin access, and need to put in a request and so forth.
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of Daniel
>>> Henninger
>>> Sent: Friday, March 11, 2005 8:26 AM
>>> To: PyAIM-t/PyICQ-t/PyMSN-t Discussion
>>> Subject: RE: [py-transports] Adding new tags to config.xml
>>>
>>> Ok, I am going to put something to outright checks that you have at
>>> least
>>> Python 2.3.
>>>
>>> Daniel
>>>
>>> --
>>> "The most addictive drug in the world is music."
>>>      - The Lost Boyz
>>>
>>>>
>>>> Looks like that is the problem - I am running Python 2.2.2.
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: [EMAIL PROTECTED]
>>>> [mailto:[EMAIL PROTECTED] On Behalf Of James
>>>> Bunton
>>>> Sent: Thursday, March 10, 2005 9:13 PM
>>>> To: PyAIM-t/PyICQ-t/PyMSN-t Discussion
>>>> Subject: Re: [py-transports] Adding new tags to config.xml
>>>>
>>>> I came across this exact thing with PyMSNt.
>>>>
>>>> Are the people having troubles using Python 2.2? It doesn't have a
>>>> type('bool').
>>>> You need to check bool & int and it will work.
>>>>
>>>> Either that, or just upgrade to Python 2.3 :)
>>>>
>>>> ---
>>>>
>>>> James
>>>>
>>>>
>>>>
>>>> On 11/03/2005, at 10:42 AM, Daniel Henninger wrote:
>>>>
>>>>> That's dodging the point of the checks though.  ;D
>>>>>
>>>>> I'll get a fix in in a moment.  No worries.
>>>>>
>>>>> Daniel
>>>>>
>>>>> --
>>>>> "The most addictive drug in the world is music."
>>>>>      - The Lost Boyz
>>>>
>>>> _______________________________________________
>>>> py-transports mailing list
>>>> [email protected]
>>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>>>
>>>>
>>>> IMPORTANT: The information contained in this email and/or its
>>> attachments
>>>> is confidential. If you are not the intended recipient, please notify
>>> the
>>>> sender immediately by reply and immediately delete this message and
>>> all
>>>> its attachments.  Any review, use, reproduction, disclosure or
>>>> dissemination of this message or any attachment by an unintended
>>> recipient
>>>> is strictly prohibited.  Neither this message nor any attachment is
>>>> intended as or should be construed as an offer, solicitation or
>>>> recommendation to buy or sell any security or other financial
>>> instrument.
>>>> Neither the sender, his or her employer nor any of their respective
>>>> affiliates makes any warranties as to the completeness or accuracy of
>>> any
>>>> of the information contained herein or that this message or any of
>>>> its
>>>> attachments is free of viruses.
>>>> _______________________________________________
>>>> py-transports mailing list
>>>> [email protected]
>>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>>>
>>>
>>> _______________________________________________
>>> py-transports mailing list
>>> [email protected]
>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>>
>>>
>>> IMPORTANT: The information contained in this email and/or its
>>> attachments
>>> is confidential. If you are not the intended recipient, please notify
>>> the
>>> sender immediately by reply and immediately delete this message and
>>> all
>>> its attachments.  Any review, use, reproduction, disclosure or
>>> dissemination of this message or any attachment by an unintended
>>> recipient
>>> is strictly prohibited.  Neither this message nor any attachment is
>>> intended as or should be construed as an offer, solicitation or
>>> recommendation to buy or sell any security or other financial
>>> instrument.
>>> Neither the sender, his or her employer nor any of their respective
>>> affiliates makes any warranties as to the completeness or accuracy of
>>> any
>>> of the information contained herein or that this message or any of its
>>> attachments is free of viruses.
>>> _______________________________________________
>>> py-transports mailing list
>>> [email protected]
>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>>
>>
>> _______________________________________________
>> py-transports mailing list
>> [email protected]
>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>

Reply via email to