qmtest 2.4: Warning: 'with' will become a reserved keyword in Python 2.6
Mark Eichin
eichin at metacarta.com
Fri Apr 25 17:51:54 UTC 2008
Caught this when installing qmtest on Ubuntu 8.04:
Setting up qmtest (2.4-3) ...
/usr/lib/python2.5/site-packages/qm/external/DocumentTemplate/DT_Util.py:212: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/qm/external/DocumentTemplate/DT_Util.py:213: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/qm/external/DocumentTemplate/DT_Util.py:213: Warning: 'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/qm/external/DocumentTemplate/DT_Util.py:229: Warning: 'with' will become a reserved keyword in Python 2.6
A quick look in svn (r1024) showed that it's a named argument of the
"reorder" function, which would be trivial to change except that there
might be callers using it by name instead of position... and I
couldn't find any callers at all [which implies that there are no
tests of it either :-) ] so I don't know if it's worth fixing as opposed to
just deleting...
More information about the qmtest
mailing list