[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
qmtest 2.4: Warning: 'with' will become a reserved keyword in Python 2.6
- To: qmtest@xxxxxxxxxxxxxxxx
- Subject: qmtest 2.4: Warning: 'with' will become a reserved keyword in Python 2.6
- From: Mark Eichin <eichin@xxxxxxxxxxxxx>
- Date: Fri, 25 Apr 2008 13:51:54 -0400
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...
|