summaryrefslogtreecommitdiff
path: root/distutils2/_backport/misc.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge compat/_backport cleanup from default.?ric Araujo2011-11-231-127/+22
| | | | | | For some reason, the diff for distutils/_backport/misc.py makes it seem like it?s a new file instead of showing the changes I did during the merge.
* Better separate compat and _backport.?ric Araujo2011-11-231-0/+141
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).