id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	branch	branch_author	launchpad_bug
5715	Get rid of references and code specific to Python 2.5	vperic		"After ticket #5553 officially drops Python 2.5 support, we should get rid of code referencing Python 2.5 specifically. This should probably only be done after #5386 (the same for Python 2.3) and #5387 (2.4).

Some of these comments can be removed, some might require the removal of code as well; grep gives the following mentions of Python 2.5:


 {{{
 ./twisted/trial/test/test_assertions.py:            # Python 2.5 and
 earlier, stacklevel of 0 resulted in a warning
 ./twisted/__init__.py:    raise RuntimeError(""Twisted requires Python 2.5
 or later."")
 ./twisted/web/xmlrpc.py:            raise RuntimeError(""useDateTime
 requires Python 2.5 or later."")
 ./twisted/web/xmlrpc.py:            raise RuntimeError(""useDateTime
 requires Python 2.5 or later."")
 ./twisted/web/_flatten.py:            # In Python 2.5, after an exception,
 a generator's gi_frame is
 ./twisted/topfiles/setup.py:    print >>sys.stderr, ""You must use at least
 Python 2.5 for Twisted""
 ./twisted/python/filepath.py:            # Under Python 2.5 on Windows,
 WindowsError has a winerror
 ./twisted/python/filepath.py:            # ERROR_PATH_NOT_FOUND.  However,
 in Python 2.5,
 ./twisted/python/filepath.py:    precision, call
 C{os.stat_float_times(True)}, or use Python 2.5.
 ./twisted/internet/defer.py:    requirement of Python 2.5, consider the
 use of L{inlineCallbacks} instead,
 ./twisted/internet/defer.py:    regular sequential function. This function
 uses features of Python 2.5
 ./twisted/internet/test/test_sigchld.py:    # random), Python 2.5 has
 set_wakeup_fd but not siginterrupt.
 ./twisted/internet/test/test_inlinecb.py:Conditional import of
 C{inlinecb_tests} for Python 2.5 and greater.
 ./twisted/internet/selectreactor.py:            # subclass, but on Python
 2.5 and earlier it is not.)
 ./twisted/conch/checkers.py:    # Python 2.5 got spwd to interface with
 shadow passwords
 ./twisted/test/generator_failure_tests.py:Python 2.5+ test cases for
 failures thrown into generators.
 ./twisted/words/protocols/jabber/xmpp_stringprep.py:    # We require
 Unicode version 3.2. Python 2.5 and later provide this as
 ./twisted/application/app.py:                # Python 2.5 and above
 supports a stream attribute
 }}}"	task	new	lowest		core			thijs			
