Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Branch merge | Éric Araujo | 2011-07-29 | 1 | -0/+10 |
|\ | |||||
| * | Remove indirection in threading (issue #10968). | Éric Araujo | 2011-07-27 | 1 | -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 Araujo | 2011-07-27 | 1 | -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 Hettinger | 2011-07-29 | 2 | -0/+4 |
|\ \ | |||||
| * | | Issue 12514: Use try/finally to assure that timeit restores GC when done. | Raymond Hettinger | 2011-07-29 | 2 | -0/+4 |
| | | | |||||
* | | | Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format. | Eli Bendersky | 2011-07-29 | 1 | -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 Hettinger | 2011-07-28 | 1 | -0/+4 |
| | | | |||||
* | | | Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime. | Charles-François Natali | 2011-07-27 | 1 | -0/+2 |
|\ \ \ | |/ / | | / | |/ |/| | |||||
| * | Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime. | Charles-François Natali | 2011-07-27 | 1 | -0/+2 |
| | | |||||
* | | Issue #12607: Merge with 3.2. | Ross Lagerwall | 2011-07-27 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is | Ross Lagerwall | 2011-07-27 | 1 | -0/+3 |
| | | | | | | | | given as a low fd, it gets overwritten. | ||||
* | | Issue #12590: IDLE editor window now always displays the first line | Ned Deily | 2011-07-27 | 1 | -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 line | Ned Deily | 2011-07-27 | 1 | -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 Kumaran | 2011-07-27 | 1 | -0/+3 |
|\ \ | |/ | | | | | do not send (or obsfuscates) Connection: Close header. | ||||
| * | Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or ↵ | Senthil Kumaran | 2011-07-27 | 1 | -0/+3 |
| | | | | | | | | obsfuscates) Connection: Close header. | ||||
* | | Issue #10639: reindent.py tool now accepts a --newline option to specify the ↵ | Jason R. Coombs | 2011-07-26 | 1 | -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. Coombs | 2011-07-26 | 1 | -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 newlines | Jason R. Coombs | 2011-07-26 | 1 | -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 by | Charles-François Natali | 2011-07-25 | 1 | -0/+1 |
| | | | | | | | | Patrick Sabin. | ||||
* | | Issue #12102: Merge with 3.2. | Ross Lagerwall | 2011-07-25 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue #12102: Document that buffered files must be flushed before being used | Ross Lagerwall | 2011-07-25 | 1 | -0/+3 |
| | | | | | | | | with mmap. Patch by Steffen Daode Nurpmeso. | ||||
* | | Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. | Charles-François Natali | 2011-07-24 | 2 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. | Charles-François Natali | 2011-07-24 | 2 | -0/+3 |
| | | |||||
* | | Add a test for issue #1813: getlocale() failing under a Turkish locale | Antoine Pitrou | 2011-07-24 | 1 | -0/+2 |
|\ \ | |/ | | | | | (not a problem under 3.x) | ||||
| * | Issue #1813: Fix codec lookup under Turkish locales. | Antoine Pitrou | 2011-07-24 | 1 | -0/+2 |
| | | |||||
* | | Issue #12624: It is now possible to fail after the first failure when | Antoine Pitrou | 2011-07-23 | 1 | -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 when | Antoine Pitrou | 2011-07-23 | 1 | -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 subprocess | Antoine Pitrou | 2011-07-23 | 1 | -0/+3 |
|\ \ | |/ | | | | | module: the piped streams can now be properly read from or written to. | ||||
| * | Issue #12591: Improve support of "universal newlines" in the subprocess | Antoine Pitrou | 2011-07-23 | 1 | -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 (without | Antoine Pitrou | 2011-07-23 | 1 | -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 (without | Antoine Pitrou | 2011-07-23 | 1 | -0/+4 |
| | | | | | | | | | | a read1() method), and add an undocumented *write_through* parameter to mandate unbuffered writes. | ||||
* | | Add Misc/NEWS entry for d68765bd6490. | Nadeem Vawda | 2011-07-23 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Add Misc/NEWS entry for c741ba9e37ef. | Nadeem Vawda | 2011-07-23 | 1 | -0/+2 |
| | | |||||
| * | Issue #12592: Make Python build on OpenBSD 5 (and future major releases). | Charles-François Natali | 2011-07-22 | 1 | -0/+2 |
| | | |||||
* | | Merge - Issue #12592: Make Python build on OpenBSD 5 (and future major | Charles-François Natali | 2011-07-22 | 1 | -0/+2 |
| | | | | | | | | releases). | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-22 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | type check AST strings and identifiers | Benjamin Peterson | 2011-07-22 | 1 | -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 Natali | 2011-07-21 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #12372: POSIX semaphores are broken on AIX: don't use them. | Charles-François Natali | 2011-07-21 | 1 | -0/+2 |
| | | |||||
| * | Upstream merge | Barry Warsaw | 2011-07-19 | 1 | -2/+9 |
| |\ | |||||
* | | | Issue #12551: Provide a get_channel_binding() method on SSL sockets so as | Antoine Pitrou | 2011-07-20 | 2 | -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 module | R David Murray | 2011-07-20 | 1 | -0/+3 |
| | | | |||||
* | | | Upstream merge. | Barry Warsaw | 2011-07-19 | 2 | -0/+8 |
|\ \ \ | |||||
| * \ \ | Issue #12587: Correct faulty test file and reference in test_tokenize. | Ned Deily | 2011-07-19 | 2 | -0/+4 |
| |\ \ \ | | |/ / | | | | | | | | | (Patch by Robert Xiao) | ||||
| | * | | Issue #12587: Correct faulty test file and reference in test_tokenize. | Ned Deily | 2011-07-19 | 2 | -0/+4 |
| | | | | | | | | | | | | | | | | (Patch by Robert Xiao) | ||||
| * | | | Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory, | Antoine Pitrou | 2011-07-19 | 1 | -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 Pitrou | 2011-07-19 | 1 | -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 proper | Barry Warsaw | 2011-07-19 | 1 | -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 proper | Barry Warsaw | 2011-07-19 | 1 | -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 EXPN | R David Murray | 2011-07-19 | 1 | -0/+3 |
|\ \ | |/ |