Get rid of references and code specific to Python 2.2
|Reported by:||jesstess||Owned by:||Jean-Paul Calderone|
|Cc:||jesstess, moijes12, Thijs Triemstra||Branch:||
branch-diff, diff-cov, branch-cov, buildbot
|Author:||exarkun, moijes12, jesstess|
Some of these comments can just get removed. Some might require removal of code as well.
twisted/internet/error.py: # only works in 2.2 twisted/python/dist.py: Python 2.2's distutils. Pretty similar arguments to getDataFiles, twisted/python/filepath.py: # new in 2.2.0 twisted/python/reflect.py: This is for Python 2.2 and up. twisted/python/reflect.py: This is a 2.2-only alternative to the Accessor mixin - just set in your twisted/python/reflect.py: """A mixin class for Python 2.2 that uses AccessorType. twisted/python/reflect.py: This provides compatability with the pre-2.2 Accessor mixin, up twisted/test/test_compat.py: # without replacing isinstance on 2.2 as well :( doc/core/development/policy/coding-standard.xhtml: in Python 2.2 to unify classes and types. All classes added to Twisted doc/core/howto/pb-copyable.xhtml:that were introduced in Python 2.2 could be useful too. The result might be doc/web/examples/xmlrpc.py:# This module is standard in Python 2.2, otherwise get it from doc/web/howto/xmlrpc.xhtml:included with Python 2.2 and later.</p>
Change History (35)
comment:24 Changed 5 years ago by
|Author:||moijes12, jesstess → exarkun, moijes12, jesstess|
|Branch:||branches/python22-5385-3 → branches/python22-5385-4|
Note: See TracTickets for help on using tickets.