On 16-08-2007, Ian Bicking wrote:
> William Dode wrote:
>> It seems that TG, cherrypy and pylon can run on python >=2.3. I also
>> run my webapps with python 2.3, do you think it will be difficult to
>> make webob work on 2.3 ?
>
> Yeah, I just got a bit lazy. I took out the decorators, and put in a
> backport of UserDict.DictMixin. Those are the only things I can think
> of now, but I haven't tested it with 2.3 yet.
Fine, i'll test it.
The builtin 'reversed' function was not in 2.3, i found it in headerdict
and multidict.
An idea :
try:
reversed
except NameError:
def reversed(c):
return c[::-1]
--
William Dodé - http://flibuste.net
Développeur informatique indépendant
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users