summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | | | | Issue 12514: Use try/finally to assure that timeit restores GC when done.Raymond Hettinger2011-07-291-3/+5
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Issue 12514: Use try/finally to assure that timeit restores GC when done.Raymond Hettinger2011-07-291-3/+5
| | | | | |
* | | | | | Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.Eli Bendersky2011-07-292-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a side effect, this now allows the rjust, ljust and center methods of bytes and bytearray to accept a bytearray argument. Patch by Petri Lehtinen
* | | | | | Issue 12647: Add __bool__() method to the None object.Raymond Hettinger2011-07-281-3/+0
| | | | | |
* | | | | | merge from 3.2 - Fix closes Issue11439 Remove the SVN keywords from the code ↵Senthil Kumaran2011-07-2849-98/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | as it is no longer applicable in hg. Patch Contributed by Neil Muller.
| * | | | | Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran2011-07-2849-98/+2
| | | | | | | | | | | | | | | | | | | | | | | | longer applicable in hg. Patch Contributed by Neil Muller.
* | | | | | Issue #11871: In test_threading.BarrierTests, bump the default barrier timeoutCharles-François Natali2011-07-271-3/+3
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | to avoid timing-dependent failures.
| * | | | | Issue #11871: In test_threading.BarrierTests, bump the default barrier timeoutCharles-François Natali2011-07-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | to avoid timing-dependent failures.
* | | | | | Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.Charles-François Natali2011-07-271-2/+2
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.Charles-François Natali2011-07-271-2/+2
| | |_|/ / | |/| | |
* | | | | Issue #11049: added test_support to regrtest.STDTESTS listEli Bendersky2011-07-271-0/+1
| |/ / / |/| | |
* | | | Issue #12607: Merge with 3.2.Ross Lagerwall2011-07-271-0/+58
|\ \ \ \ | |/ / /
| * | | Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr isRoss Lagerwall2011-07-272-0/+66
| | | | | | | | | | | | | | | | given as a low fd, it gets overwritten.
* | | | merge from 3.2 - Correcting issue 12576 fix, which resulted in buildbot ↵Senthil Kumaran2011-07-271-6/+3
|\ \ \ \ | |/ / / | | | | | | | | failures.
| * | | Correcting issue 12576 fix, which resulted in buildbot failures.Senthil Kumaran2011-07-271-6/+3
| | | |
* | | | Issue #12590: IDLE editor window now always displays the first lineNed Deily2011-07-271-1/+1
|\ \ \ \ | |/ / / | | | | | | | | when opening a long file. With Tk 8.5, the first line was hidden.
| * | | Issue #12590: IDLE editor window now always displays the first lineNed Deily2011-07-271-1/+1
| | | | | | | | | | | | | | | | when opening a long file. With Tk 8.5, the first line was hidden.
* | | | merge from 3.2 - Fix closes Issue12576 - fix urlopen behavior on sites which ↵Senthil Kumaran2011-07-272-3/+22
|\ \ \ \ | |/ / / | | | | | | | | do not send (or obsfuscates) Connection: Close header.
| * | | Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or ↵Senthil Kumaran2011-07-272-3/+22
| | | | | | | | | | | | | | | | obsfuscates) Connection: Close header.
| * | | Backport 0398f07d4827 (fix for weird buildbot failures)Antoine Pitrou2011-07-262-4/+4
| | | |
* | | | Try to fix weird buildbot failuresAntoine Pitrou2011-07-262-4/+4
| | | |
* | | | Issue #8746: Use tempfile module to get tempdir and randomize theNed Deily2011-07-261-1/+3
|\ \ \ \ | |/ / / | | | | | | | | link file name.
| * | | Issue #8746: Use tempfile module to get tempdir and randomize theNed Deily2011-07-261-1/+3
| |/ / | | | | | | | | | link file name.
* | | Add debug output for failing buildbotAntoine Pitrou2011-07-261-0/+2
| | |