- 31 Jul, 2011 5 commits
-
-
Éric Araujo authored
This prevents tests from failing when run from a Python installed in a read-only directory. The code is a bit uglier; shutil.copytree calls copystat on directories behind our back, so I had to add an os.walk with os.chmod (*and* os.path.join!) calls. shutil, I am disappoint. This changeset is dedicated to the hundreds of neurons that were lost while I was debugging this on an otherwise fine afternoon.
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
This prevents tests from failing when run from a Python installed in a read-only directory.
-
Éric Araujo authored
The changed behavior of sdist in 3.1 broke packaging for projects that wanted to use a manually-maintained MANIFEST file (instead of having a MANIFEST.in template and letting distutils generate the MANIFEST). The fixes that were committed for #8688 (76643c286b9f by Tarek and d54da9248ed9 by me) did not fix all issues exposed in the bug report, and also added one problem: the MANIFEST file format gained comments, but the read_manifest method was not updated to handle (i.e. ignore) them. This changeset should fix everything; the tests have been expanded and I successfully tested the 2.7 version with Mercurial, which suffered from this regression. I have grouped the versionchanged directives for these bugs in one place and added micro version numbers to help users know the quirks of the exact version they’re using. Initial report, thorough diagnosis and patch by John Dennis, further work on the patch by Stephen Thorne, and a few edits and additions by me.
-
- 30 Jul, 2011 16 commits
-
-
Éric Araujo authored
-
Eli Bendersky authored
-
Eli Bendersky authored
-
Eli Bendersky authored
Merge 3.2: Issue #11699: fix documentation of OptionParser.get_option_group. Patch by Petri Lehtinen
-
Eli Bendersky authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Eli Bendersky authored
-
Eli Bendersky authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine.
-
- 29 Jul, 2011 19 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Antoine Pitrou authored
with the `-m` (or `--match`) option. This works with all test cases using the unittest module. This is useful with long test suites such as test_io or test_subprocess.
-
Antoine Pitrou authored
with the `-m` (or `--match`) option. This works with all test cases using the unittest module. This is useful with long test suites such as test_io or test_subprocess.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Charles-François Natali authored
fix it. Patch by Petri Lehtinen.
-
Charles-François Natali authored
fix it. Patch by Petri Lehtinen.
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
importlib.import_module eschews a number of issues that __import__ has. Reviewed by Brett Cannon. (The docstring of __import__ was already updated in 3d490c3a019e, for #7397.)
-
Éric Araujo authored
-
Éric Araujo authored
-
Jason R. Coombs authored
-
Jason R. Coombs authored
Issue #10639: spec_newline wasn't defined globally unless main() was called; now spec_newline is set at module import/execution
-
Éric Araujo authored
-
Éric Araujo authored
-