summaryrefslogtreecommitdiff
path: root/distutils2/compat.py
Commit message (Collapse)AuthorAgeFilesLines
* Start improving 2to3 code (#13462).?ric Araujo2012-02-091-9/+8
| | | | | | - Change the fixers used in tests to something not provided by lib2to3 - Test conversion of doctests in text files - Factor out test boilerplate into a common method
* Better separate compat and _backport.?ric Araujo2011-11-231-142/+1
| | | | | | | | | | | | This moves individual backported functions from compat into a new _backport.misc module. compat regains its original purpose of containing 2to3 support code (i.e. compat for projects using distutils2, not internal compat for d2 code) and all backports now live under the private _backport subnamespace. Also fix the definition of ?any? to bind it to the builtin in 2.5+ (fsencode and detect_encoding not changed, they never exist in 2.x).
* Remove docstring with factual errors?ric Araujo2011-09-231-5/+0
|
* pep8 compat.py?ric Araujo2011-09-211-1/+5
|
* Provide replacement for platform.python_implementation for 2.4 and 2.5?ric Araujo2011-09-181-0/+13
|
* Fix backport changesets part 3: backported modules.?ric Araujo2011-09-181-4/+127
| | | | | | | | | | shutil, sysconfig, tarfile and their tests have been updated to the latest 3.2 version (except for test_tarfile which is not backported yet) and edited to be compatible with 2.4. Duplicates added in util during the Great Update have been deleted, as well as functions I removed recently in packaging. Unneeded modules in _backport have been deleted or moved to d2.compat.
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-11/+9
|
* Small code cleanup?ric Araujo2010-11-261-12/+7
|
* moved everything in the same dir - we want to include docs/ in the releaseTarek Ziade2010-09-191-0/+64