summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* bsd doesn't like letting normal processes set the schedulerBenjamin Peterson2011-08-021-1/+5
|
* check individually for some for sched_ functionsBenjamin Peterson2011-08-021-2/+2
|
* sched.h can exist without sched affinity supportBenjamin Peterson2011-08-021-4/+6
|
* expose sched.h functions (closes #12655)Benjamin Peterson2011-08-021-1/+132
|
* add ThreadError to threading.__all__ (closes #12679)Benjamin Peterson2011-08-021-1/+1
|
* Fix closes Issue12676 - Invalid identifier used in TypeError message in ↵Senthil Kumaran2011-08-022-1/+8
|\ | | | | | | | | | | http.client. Reported by Popa Claudiu and Patch by Santoso Wijaya.
| * Fix closes Issue12676 - Invalid identifier used in TypeError message in ↵Senthil Kumaran2011-08-022-1/+8
| | | | | | | | | | | | http.client. Reported by Popa Claudiu and Patch by Santoso Wijaya.
* | Issue #11049: fix test_forget to work on installed Python, by using a ↵Eli Bendersky2011-08-021-3/+11
| | | | | | | | temporary module for import/forget
* | Merge 68b5f87566fbStefan Krah2011-08-011-0/+3
|\ \ | |/
| * Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.Stefan Krah2011-08-011-0/+3
| | | | | | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=726536
* | Issue #11651: Move options for running tests into a Python script.Nadeem Vawda2011-08-011-0/+7
| | | | | | | | | | | | This will be particularly useful to Windows users. run_tests.py originally written by Brett Cannon.
* | Merge #12295 fix from 3.2Éric Araujo2011-08-011-2/+3
|\ \ | |/
| * Fix resource warning when looking at turtledemo’s help (#12295)Éric Araujo2011-08-011-2/+3
| |
| * Branch mergeÉric Araujo2011-08-013-32/+73
| |\
* | | Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)Éric Araujo2011-08-011-2/+1
| | |
* | | Branch mergeÉric Araujo2011-08-014-55/+104
|\ \ \
| * | | Stop trying to write into the stdlib during packaging tests (#12331).Éric Araujo2011-07-311-23/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Merge fixes for #9860, #11104/#8688 and #12331 from 3.2Éric Araujo2011-07-313-32/+73
| |\ \ \ | | | |/ | | |/|
| | * | Stop trying to write into the stdlib during lib2to3 tests (#12331).Éric Araujo2011-07-311-7/+11
| | | | | | | | | | | | | | | | | | | | This prevents tests from failing when run from a Python installed in a read-only directory.
| | * | Fix regression with distutils MANIFEST handing (#11104, #8688).Éric Araujo2011-07-312-25/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | using support.transient_internet helper method in the urllib2net test.Senthil Kumaran2011-07-311-10/+14
|\ \ \ \ | | |_|/ | |/| |
| * | | using support.transient_internet helper method in the urllib2net test.Senthil Kumaran2011-07-311-10/+14
| | |/ | |/|
* | | Addressing the review comments by Antoine Pitrou for smtplib.py and ↵Senthil Kumaran2011-07-312-19/+30
| | | | | | | | | | | | test_smtplib.py. Review comments by Ezio Melotti for smtplib.rst
* | | test_smtpnet: Skip STARTTLS test if the server doesn't support it.Nadeem Vawda2011-07-301-1/+7
| |/ |/| | | | | | | This issue can arise with ISPs that redirect all connections on port 25 to their own (crappy) mail servers.
* | merge heads.Senthil Kumaran2011-07-301-0/+7
|\ \
| * | also make NotImplementedType callableBenjamin Peterson2011-07-291-1/+1
| | |
| * | merge headsBenjamin Peterson2011-07-292-6/+35
| |\ \
| * | | make the types of None and Ellipsis callableBenjamin Peterson2011-07-291-0/+7
| | | |
* | | | Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which ↵Senthil Kumaran2011-07-303-14/+46
| |/ / |/| | | | | | | | adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine.
* | | Issue #12626: In regrtest, allow to filter tests using a glob filterAntoine Pitrou2011-07-292-6/+35
|\ \ \ | |/ / |/| / | |/ | | | | 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.
| * Issue #12626: In regrtest, allow to filter tests using a glob filterAntoine Pitrou2011-07-292-6/+32
| | | | | | | | | | | | 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.
* | bytes should be verboten in sum() (fixes #12654)Benjamin Peterson2011-07-291-0/+3
| |
* | Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:Charles-François Natali2011-07-292-1/+23
|\ \ | |/ | | | | fix it. Patch by Petri Lehtinen.
| * Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:Charles-François Natali2011-07-292-1/+23
| | | | | | | | fix it. Patch by Petri Lehtinen.
* | Merge fix for #8887 from 3.2Éric Araujo2011-07-292-6/+25
|\ \ | |/
| * Make “pydoc somebuiltin.somemethod” work (#8887)Éric Araujo2011-07-292-6/+25
| |
| * Branch mergeÉric Araujo2011-07-293-30/+13
| |\
* | \ Branch mergeÉric Araujo2011-07-2918-187/+153
|\ \ \
| * | | Minor packaging cleanup.Éric Araujo2011-07-295-21/+21
| | | | | | | | | | | | | | | | | | | | - Use shortcut dist.version instead of going through metadata; - Use %r throughout to display project names and paths.
| * | | Make TypeError message from Command.__init__ more usefulÉric Araujo2011-07-291-1/+2
| | | |
| * | | Let all pysetup actions return a meaningful 0 or 1 exit code (#12222).Éric Araujo2011-07-291-32/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help scripts calling pysetup know if a command failed. Printing/logging was also made more consistent, and a few things were cleaned up. In particular, the error/Ctrl-C handling was moved from the _run function up to the main function. The run action is not fixed yet; it returns the dist.Distribution instance, which is needed by test_uninstall and not trivial to fix.
| * | | Let pysetup list exit with a non-zero code when no result is found (#11409).Éric Araujo2011-07-291-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | “pysetup list” or “pysetup list --all” will continue to return 0 if no distribution is found (it’s not an error), but “pysetup list some.project” will now exit with 1 if no matching installed distribution is found. Based on a patch by Kelsey Hightower.
| * | | Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes)Éric Araujo2011-07-293-30/+13
| |\ \ \ | | | |/ | | |/|
| | * | Branch mergeÉric Araujo2011-07-289-14/+94
| | |\ \
| | | * \ Merge profile docs followup (#12417) from 3.1Éric Araujo2011-07-281-4/+0
| | | |\ \
| | | | * | Remove mentions of previous license in profile module docs (#12417 followup).Éric Araujo2011-07-281-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Also remove an extra docstring.
| | * | | | Remove duplicates of cmp_to_key (#12542, reviewed by Raymond Hettinger)Éric Araujo2011-07-262-26/+13
| | | | | |
| * | | | | Modernize modulefinder module and tests a bit.Éric Araujo2011-07-282-32/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests don’t use an internal distutils function anymore, and use regular assertEqual with sorted lists instead of a convoluted manual diff.
| * | | | | Remove indirection in threading (issue #10968).Éric Araujo2011-07-272-34/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The public names (Thread, Condition, etc.) used to be factory functions returning instances of hidden classes (_Thread, _Condition, etc.), because (if Guido recalls correctly) this code pre-dates the ability to subclass extension types. It is now possible to inherit from Thread and other classes, without having to import the private underscored names like multiprocessing did. A doc update will follow: a patch is under discussion on the issue.
| * | | | | Add shlex.quote function, to escape filenames and command lines (#9723).Éric Araujo2011-07-274-38/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function used to live as pipes.quote, where it was undocumented but used anyway. (An alias still exists for backward compatibility.) The tests have been moved as is, but the code of the function was changed to use a regex instead of a loop with string comparisons (at Ian Bicking’s suggestion). I’m terrible at regexes, so any feedback is welcome.