Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (merge 3.2) Issue #12467: warnings: fix a race condition if a warning is | Victor Stinner | 2011-07-04 | 1 | -0/+12 |
|\ | | | | | | | emitted at shutdown, if globals()['__file__'] is None. | ||||
| * | Issue #12467: warnings: fix a race condition if a warning is emitted at | Victor Stinner | 2011-07-04 | 1 | -0/+12 |
| | | | | | | | | shutdown, if globals()['__file__'] is None. | ||||
* | | (merge 3.2) Issue #12451: runpy: run_path() now opens the Python script in | Victor Stinner | 2011-07-03 | 1 | -0/+10 |
|\ \ | |/ | | | | | | | binary mode, instead of text mode using the locale encoding, to support other encodings than UTF-8 (scripts using the coding cookie). | ||||
| * | Issue #12451: runpy: run_path() now opens the Python script in binary mode, | Victor Stinner | 2011-07-03 | 1 | -0/+10 |
| | | | | | | | | | | instead of text mode using the locale encoding, to support other encodings than UTF-8 (scripts using the coding cookie). | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-03 | 1 | -0/+12 |
|\ \ | |/ | |||||
| * | never retain a generator's caller's exception state on the generator after a ↵ | Benjamin Peterson | 2011-07-03 | 1 | -0/+12 |
| | | | | | | | | | | | | | | yield/return This requires some trickery to properly save the exception state if the generator creates its own exception state. | ||||
* | | merge 3.2 (#12475) | Benjamin Peterson | 2011-07-03 | 1 | -0/+15 |
|\ \ | |/ | |||||
| * | merge heads | Benjamin Peterson | 2011-07-03 | 2 | -1/+134 |
| |\ | |||||
| * | | restore a generator's caller's exception state both on yield and (last) return | Benjamin Peterson | 2011-07-03 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | This prevents generator exception state from leaking into the caller. Closes #12475. | ||||
* | | | Remove mention of medical condition from the test suite. | Georg Brandl | 2011-07-03 | 1 | -4/+4 |
| | | | |||||
* | | | merge #12147: make send_message correctly handle Sender and Resent- headers. | R David Murray | 2011-07-03 | 1 | -1/+110 |
|\ \ \ | | |/ | |/| | |||||
| * | | #12147: make send_message correctly handle Sender and Resent- headers. | R David Murray | 2011-07-03 | 1 | -1/+110 |
| | | | | | | | | | | | | | | | Original patch by Nicolas Estibals. My tweaks to the patch were mostly style/cosmetic, and adding more tests. | ||||
* | | | Issue #12456: fix a possible hang on shutdown of a ↵ | Antoine Pitrou | 2011-07-02 | 1 | -0/+7 |
| | | | | | | | | | | | | concurrent.futures.ProcessPoolExecutor. | ||||
* | | | Closes #12291 for 3.3 - merged fix from 3.2. | Vinay Sajip | 2011-07-02 | 1 | -0/+24 |
|\ \ \ | |/ / | |||||
| * | | Closes #12291: Fixed bug which was found when doing multiple loads from one ↵ | Vinay Sajip | 2011-07-02 | 1 | -0/+24 |
| |/ | | | | | | | stream. | ||||
* | | Clean up NEWS entry and tests for shutil.disk_usage (#12442) | Éric Araujo | 2011-07-02 | 1 | -5/+5 |
| | | |||||
* | | Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block is | Charles-François Natali | 2011-07-02 | 1 | -0/+24 |
|\ \ | |/ | | | | | freed by the garbage collector while the Heap lock is held. | ||||
| * | Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block is | Charles-François Natali | 2011-07-02 | 1 | -0/+24 |
| |\ | | | | | | | | | | freed by the garbage collector while the Heap lock is held. | ||||
| | * | Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by | Charles-François Natali | 2011-07-02 | 1 | -0/+24 |
| | | | | | | | | | | | | the garbage collector while the Heap lock is held. | ||||
* | | | merge #11873: another try at fixing the regex, courtesy of Victor Stinner | R David Murray | 2011-07-01 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | #11873: another try at fixing the regex, courtesy of Victor Stinner | R David Murray | 2011-07-01 | 1 | -1/+1 |
| | | | |||||
* | | | merge #11873: fix test regex so it covers windows os.sep as well. | R David Murray | 2011-07-01 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | #11873: fix test regex so it covers windows os.sep as well. | R David Murray | 2011-07-01 | 1 | -1/+1 |
| | | | |||||
* | | | (merge 3.2) Issue #12363: increase the timeout of siginterrupt() tests | Victor Stinner | 2011-07-01 | 1 | -4/+4 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | Move also the "ready" trigger after the installation of the signal handler and the call to siginterrupt(). Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough, but some of our buildbots are really slow (especially the FreeBSD 6 VM). | ||||
| * | | Issue #12363: increase the timeout of siginterrupt() tests | Victor Stinner | 2011-07-01 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | Move also the "ready" trigger after the installation of the signal handler and the call to siginterrupt(). Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough, but some of our buildbots are really slow (especially the FreeBSD 6 VM). | ||||
| * | | Issue #12363: improve siginterrupt() tests | Victor Stinner | 2011-07-01 | 1 | -89/+86 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport commits 968b9ff9a059 and aff0a7b0cb12 from the default branch to 3.2 branch. Extract of the changelog messages: "The previous tests used time.sleep() to synchronize two processes. If the host was too slow, the test could fail. The new tests only use one process, but they use a subprocess to: - have only one thread - have a timeout on the blocking read (select cannot be used in the test, select always fail with EINTR, the kernel doesn't restart it) - not touch signal handling of the parent process" and "Add a basic synchronization code between the child and the parent processes: the child writes "ready" to stdout." I replaced .communicate(timeout=3.0) by an explicit waiting loop using Popen.poll(). | ||||
* | | | (merge 3.2) Issue #11870: Skip test_threading.test_2_join_in_forked_process() | Victor Stinner | 2011-07-01 | 1 | -14/+11 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | on platforms with known OS bugs Share the list of platforms with known OS bugs with other tests. Patch written by Charles-François Natali. | ||||
| * | | Issue #11870: Skip test_threading.test_2_join_in_forked_process() on platforms | Victor Stinner | 2011-07-01 | 1 | -14/+11 |
| | | | | | | | | | | | | | | | | | | | | | with known OS bugs Share the list of platforms with known OS bugs with other tests. Patch written by Charles-François Natali. | ||||
* | | | Issue #12442: add shutil.disk_usage() | Giampaolo Rodola' | 2011-07-01 | 1 | -0/+10 |
| | | | |||||
* | | | (merge 3.2) test_os: remove now useless TemporaryFileTests testcase | Victor Stinner | 2011-07-01 | 1 | -111/+6 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions removed from Python 3. Move fdopen() tests to the FileTests testcase to test fdopen() on a file descriptor, not on a directory descriptor (which raises an error on Windows). | ||||
| * | | test_os: remove now useless TemporaryFileTests testcase | Victor Stinner | 2011-07-01 | 1 | -111/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions removed from Python 3. Move fdopen() tests to the FileTests testcase to test fdopen() on a file descriptor, not on a directory descriptor (which raises an error on Windows). | ||||
* | | | (merge 3.2) test_os: add TemporaryFileTests to the testcase list | Victor Stinner | 2011-07-01 | 1 | -0/+1 |
|\ \ \ | |/ / | | | | | | | The testcase was never executed, it's now fixed. | ||||
| * | | test_os: add TemporaryFileTests to the testcase list | Victor Stinner | 2011-07-01 | 1 | -0/+1 |
| | | | | | | | | | | | | The testcase was never executed, it's now fixed. | ||||
* | | | Issue #12451: Add support.create_empty_file() | Victor Stinner | 2011-06-30 | 16 | -50/+47 |
| | | | | | | | | | | | | | | | | | | | | | We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle). | ||||
* | | | Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows. | Antoine Pitrou | 2011-06-30 | 1 | -0/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows. | Antoine Pitrou | 2011-06-30 | 1 | -0/+3 |
| | | | |||||
* | | | Issue 12139: ftplib - remove 'post CCC' test to fix various buildot failures ↵ | Giampaolo Rodola' | 2011-06-30 | 1 | -2/+0 |
| | | | | | | | | | | | | due to dummy test server not properly handling SSL shutdown(), see http://bugs.python.org/msg139499 | ||||
* | | | Issue #12451: Open the test file in binary mode in test_bz2, the text file is | Victor Stinner | 2011-06-30 | 1 | -1/+1 |
| | | | | | | | | | | | | not needed. | ||||
* | | | (merge 3.2) Issue #12451: Open files in binary mode in some tests when the text | Victor Stinner | 2011-06-30 | 5 | -18/+16 |
|\ \ \ | |/ / | | | | | | | | | | | | | file is not needed. Remove also an unused variable (blank) in test_threading. | ||||
| * | | Issue #12451: Open files in binary mode in some tests when the text file is not | Victor Stinner | 2011-06-30 | 5 | -18/+16 |
| | | | | | | | | | | | | | | | | | | needed. Remove also an unused variable (blank) in test_threading. | ||||
* | | | (merge 3.2) Issue #12451: pydoc.synopsis() now reads the encoding cookie if | Victor Stinner | 2011-06-30 | 1 | -1/+12 |
|\ \ \ | |/ / | | | | | | | available, to read the Python script from the right encoding. | ||||
| * | | Issue #12451: pydoc.synopsis() now reads the encoding cookie if available, to | Victor Stinner | 2011-06-30 | 1 | -1/+12 |
| | | | | | | | | | | | | read the Python script from the right encoding. | ||||
* | | | Issue #12400: test_cprofile now restores correctly the previous sys.stderr | Victor Stinner | 2011-06-29 | 1 | -10/+13 |
| | | | | | | | | | | | | Copy sys.stderr before replacing it, instead of using sys.__stderr__ | ||||
* | | | Issue #12400: test_faulthandler now uses sys.__stderr__ | Victor Stinner | 2011-06-29 | 1 | -5/+1 |
| | | | | | | | | | | | | instead of open(os.devnull, 'w') | ||||
* | | | (merge 3.2) Issue #12400: regrtest.runtest() uses stream.seek(0) before ↵ | Victor Stinner | 2011-06-29 | 1 | -3/+6 |
|\ \ \ | |/ / | | | | | | | | | | | | | .truncate() .truncate(0) doesn't rewind. | ||||
| * | | Issue #12400: regrtest.runtest() uses stream.seek(0) before .truncate() | Victor Stinner | 2011-06-29 | 1 | -3/+6 |
| | | | | | | | | | | | | .truncate(0) doesn't rewind. | ||||
* | | | (merge 3.2) Issue #12400: test_zipimport_support doesn't restore original | Victor Stinner | 2011-06-29 | 1 | -19/+12 |
|\ \ \ | |/ / | | | | | | | | | | | | | sys.stdout anymore regrtest doesn't check that a test doesn't output anything anymore. | ||||
| * | | Issue #12400: test_zipimport_support doesn't restore original sys.stdout | Victor Stinner | 2011-06-29 | 1 | -19/+12 |
| | | | | | | | | | | | | | | | | | | anymore regrtest doesn't check that a test doesn't output anything anymore. | ||||
* | | | (merge 3.2) Issue #12400: runtest() truncates the StringIO stream before a new | Victor Stinner | 2011-06-29 | 1 | -0/+1 |
|\ \ \ | |/ / | | | | | | | test | ||||
| * | | Issue #12400: runtest() truncates the StringIO stream before a new test | Victor Stinner | 2011-06-29 | 1 | -0/+1 |
| | | |