summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Branch mergeÉric Araujo2011-07-291-0/+10
|\
| * Remove indirection in threading (issue #10968).Éric Araujo2011-07-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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-271-1/+4
| | | | | | | | | | | | | | | | 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-292-0/+4
|\ \
| * | Issue 12514: Use try/finally to assure that timeit restores GC when done.Raymond Hettinger2011-07-292-0/+4
| | |
* | | Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.Eli Bendersky2011-07-291-1/+6
| | | | | | | | | | | | | | | | | | | | | 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-0/+4
| | |
* | | Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.Charles-François Natali2011-07-271-0/+2
|\ \ \ | |/ / | | / | |/ |/|
| * Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.Charles-François Natali2011-07-271-0/+2
| |
* | Issue #12607: Merge with 3.2.Ross Lagerwall2011-07-271-0/+3
|\ \ | |/
| * Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr isRoss Lagerwall2011-07-271-0/+3
| | | | | | | | given as a low fd, it gets overwritten.
* | Issue #12590: IDLE editor window now always displays the first lineNed Deily2011-07-271-0/+3
|\ \ | |/ | | | | 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-0/+3
| | | | | | | | 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-271-0/+3
|\ \ | |/ | | | | do not send (or obsfuscates) Connection: Close header.
| * Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or ↵Senthil Kumaran2011-07-271-0/+3
| | | | | | | | obsfuscates) Connection: Close header.
* | Issue #10639: reindent.py tool now accepts a --newline option to specify the ↵Jason R. Coombs2011-07-261-0/+1
| | | | | | | | newline to be used in the output of converted files.
* | Merge with 3.2 Issue #10639: reindent.py should not convert newlines.Jason R. Coombs2011-07-261-1/+4
|\ \ | |/ | | | | reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
| * Fixes #10639: reindent.py should not convert newlinesJason R. Coombs2011-07-261-0/+6
| | | | | | | | reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
* | Issue #11784: Improve multiprocessing.Process.join() documentation. Patch byCharles-François Natali2011-07-251-0/+1
| | | | | | | | Patrick Sabin.
* | Issue #12102: Merge with 3.2.Ross Lagerwall2011-07-251-0/+3
|\ \ | |/
| * Issue #12102: Document that buffered files must be flushed before being usedRoss Lagerwall2011-07-251-0/+3
| | | | | | | | with mmap. Patch by Steffen Daode Nurpmeso.
* | Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.Charles-François Natali2011-07-242-0/+3
|\ \ | |/
| * Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.Charles-François Natali2011-07-242-0/+3
| |
* | Add a test for issue #1813: getlocale() failing under a Turkish localeAntoine Pitrou2011-07-241-0/+2
|\ \ | |/ | | | | (not a problem under 3.x)
| * Issue #1813: Fix codec lookup under Turkish locales.Antoine Pitrou2011-07-241-0/+2
| |
* | Issue #12624: It is now possible to fail after the first failure whenAntoine Pitrou2011-07-231-0/+5
|\ \ | |/ | | | | | | | | running in verbose mode (`-v` or `-W`), by using the `--failfast` (or `-G`) option to regrtest. This is useful with long test suites such as test_io or test_subprocess.
| * Issue #12624: It is now possible to fail after the first failure whenAntoine Pitrou2011-07-231-0/+5
| | | | | | | | | | | | running in verbose mode (`-v` or `-W`), by using the `--failfast` (or `-G`) option to regrtest. This is useful with long test suites such as test_io or test_subprocess.
* | Issue #12591: Improve support of "universal newlines" in the subprocessAntoine Pitrou2011-07-231-0/+3
|\ \ | |/ | | | | module: the piped streams can now be properly read from or written to.
| * Issue #12591: Improve support of "universal newlines" in the subprocessAntoine Pitrou2011-07-231-0/+3
| | | | | | | | | | | | | | module: the piped streams can now be properly read from or written to. (this was broken due to the 2.x to 3.x transition; communicate() support is still sketchy)
* | Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (withoutAntoine Pitrou2011-07-231-0/+4
|\ \ | |/ | | | | | | a read1() method), and add a *write_through* parameter to mandate unbuffered writes.
| * Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (withoutAntoine Pitrou2011-07-231-0/+4
| | | | | | | | | | a read1() method), and add an undocumented *write_through* parameter to mandate unbuffered writes.
* | Add Misc/NEWS entry for d68765bd6490.Nadeem Vawda2011-07-231-0/+2
|\ \ | |/
| * Add Misc/NEWS entry for c741ba9e37ef.Nadeem Vawda2011-07-231-0/+2
| |
| * Issue #12592: Make Python build on OpenBSD 5 (and future major releases).Charles-François Natali2011-07-221-0/+2
| |
* | Merge - Issue #12592: Make Python build on OpenBSD 5 (and future majorCharles-François Natali2011-07-221-0/+2
| | | | | | | | releases).
* | merge 3.2Benjamin Peterson2011-07-221-0/+3
|\ \ | |/
| * type check AST strings and identifiersBenjamin Peterson2011-07-221-0/+3
| | | | | | | | This is related to a21829180423 as well as #12609 and #12610.
* | Merge - Issue #12372: POSIX semaphores are broken on AIX: don't use them.Charles-François Natali2011-07-211-0/+2
|\ \ | |/
| * Issue #12372: POSIX semaphores are broken on AIX: don't use them.Charles-François Natali2011-07-211-0/+2
| |
| * Upstream mergeBarry Warsaw2011-07-191-2/+9
| |\
* | | Issue #12551: Provide a get_channel_binding() method on SSL sockets so asAntoine Pitrou2011-07-202-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | to get channel binding data for the current SSL session (only the "tls-unique" channel binding is implemented). This allows the implementation of certain authentication mechanisms such as SCRAM-SHA-1-PLUS. Patch by Jacek Konieczny.
* | | #665194: support roundtripping RFC2822 date stamps in the email.utils moduleR David Murray2011-07-201-0/+3
| | |
* | | Upstream merge.Barry Warsaw2011-07-192-0/+8
|\ \ \
| * \ \ Issue #12587: Correct faulty test file and reference in test_tokenize.Ned Deily2011-07-192-0/+4
| |\ \ \ | | |/ / | | | | | | | | (Patch by Robert Xiao)
| | * | Issue #12587: Correct faulty test file and reference in test_tokenize.Ned Deily2011-07-192-0/+4
| | | | | | | | | | | | | | | | (Patch by Robert Xiao)
| * | | Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,Antoine Pitrou2011-07-191-0/+4
| |\ \ \ | | |/ / | | | | | | | | so that "import DLFCN" and other similar imports work on Linux 3.0.
| | * | Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,Antoine Pitrou2011-07-191-0/+4
| | | | | | | | | | | | | | | | so that "import DLFCN" and other similar imports work on Linux 3.0.
* | | | - Issue #10309: Define _GNU_SOURCE so that mremap() gets the properBarry Warsaw2011-07-191-2/+6
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| signature. Without this, architectures where sizeof void* != sizeof int are broken. Patch given by Hallvard B Furuseth.
| * | - Issue #10309: Define _GNU_SOURCE so that mremap() gets the properBarry Warsaw2011-07-191-2/+9
| |/ | | | | | | | | signature. Without this, architectures where sizeof void* != sizeof int are broken. Patch given by Hallvard B Furuseth.
* | Merge #7484: no more <> around addresses in VRFY or EXPNR David Murray2011-07-191-0/+3
|\ \ | |/