aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/compat.py
Commit message (Collapse)AuthorAgeFilesLines
* next compatibility is no longer requiredJason R. Coombs2014-07-051-2/+0
|
* Since Python 3 will always need the _execfile functionality (to fulfill the ↵Jason R. Coombs2014-07-051-10/+0
| | | | test in test_sandbox), this functionality should become part of the core implementation.
* Use numbers.Number to detect numeric typeJason R. Coombs2014-07-051-2/+0
|
* Use context manager for brevityJason R. Coombs2014-05-171-4/+1
|
* Add a PY2 also.Jason R. Coombs2014-05-171-1/+2
|
* Compute PY3 directly and switch on that for clarity.Jason R. Coombs2014-05-171-4/+3
|
* Merge with 1.4.2Jason R. Coombs2013-12-011-2/+2
|\
| * Moved imports to the top, made them compatible with Python 2, and added a ↵Jason R. Coombs2013-12-011-2/+2
| | | | | | | | docstring.
* | Remove reduce compatibility references (intended for earlier commit).Jason R. Coombs2013-11-241-2/+0
| |
* | Drop compatibility function exec_, required for Python 2.5 and earlier.Jason R. Coombs2013-11-241-14/+2
| |
* | The one use of xrange could also use range, so just use range.Jason R. Coombs2013-11-241-2/+0
|/
* Merge with defaultPhilip Thiem2013-09-281-4/+7
|\ | | | | | | | | --HG-- extra : rebase_source : d9c70d5bebd4290f568c828c5bc3a9b93a817ff2
| * execfile now opens target in binary mode for better compatibility. Fixes ↵1.1.6Jason R. Coombs2013-09-181-1/+1
| | | | | | | | Distribute #349.
| * MergeJason R. Coombs2013-09-061-2/+2
| |\
| | * Correct 404 errors when URLs contain fragments. Fixes #69.Jason R. Coombs2013-09-061-2/+3
| | |
| * | Add 'urlsplit' and 'urlunsplit' to compat moduleJason R. Coombs2013-07-241-2/+5
| |/
* / Additional Tests, Various fixes, and encoding dealingsPhilip Thiem2013-07-201-0/+2
|/ | | | | --HG-- extra : rebase_source : 2734e79e08e194923eab8c70f92cb77bce7daccf
* Fix Python3 compatibility issue in filterfalseJason R. Coombs2013-06-171-0/+3
| | | | | | | --HG-- branch : distribute extra : rebase_source : 71e3e89efe6483924a07e7f9819ee86f08dbf1f2 extra : histedit_source : fa75c7bc174b248c74da7b4efd5f6f05c36b6ae4
* Fixed some resource leaks.Vinay Sajip2012-10-101-2/+6
| | | | | | --HG-- branch : distribute extra : source : 98c929e25fee11a99eb125dd9a13521321d68dd3
* Minor fix previously fixed in a mergeJason R. Coombs2013-06-181-0/+2
| | | | | --HG-- branch : distribute
* Post-merge fixes for Python 3.Vinay Sajip2012-10-101-0/+7
| | | | | | --HG-- branch : distribute extra : source : 6b9041dea7b9197f6ea1fb993d7a05dd4f7c580d
* Fixed execfile in compat.py.Vinay Sajip2011-06-211-1/+6
| | | | | | --HG-- branch : distribute extra : rebase_source : cf31870fee8b718e14e209d957905c8d7573beba
* Fixed some bugs, tests now also all pass on 2.7 and 3.2.Vinay Sajip2011-06-211-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 25c6042a716c49e3576605c3cf4e2878d5b85c18
* Fixed some bugs - tests now all pass under Python 3.3.Vinay Sajip2011-06-211-2/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 3498bfdc0d4c15e4276673b52e924c461ca353f0
* Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-0/+73
--HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071