Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert 76452b892838 as per ↵ | Georg Brandl | 2011-07-06 | 1 | -4/+4 |
| | | | | http://mail.python.org/pipermail/python-dev/2011-July/112243.html. | ||||
* | Normalize whitespace for #11512 fix. | Brian Curtin | 2011-07-06 | 1 | -7/+7 |
| | |||||
* | Fix #11512. Add an initial test suite for the cgitb, providing 75% coverage. | Brian Curtin | 2011-07-06 | 1 | -0/+55 |
| | | | | Patch by Robbie Clemons (robquad), produced at the PyCon 2011 sprints. | ||||
* | Issue #12459: time.sleep() now raises a ValueError if the sleep length is | Victor Stinner | 2011-07-05 | 1 | -0/+2 |
| | | | | | negative, instead of an infinite sleep on Windows or raising an IOError on Linux for example, to have the same behaviour on all platforms. | ||||
* | (merge 3.2) Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is ↵ | Victor Stinner | 2011-07-05 | 1 | -0/+2 |
|\ | | | | | | | missing | ||||
| * | Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing | Victor Stinner | 2011-07-05 | 1 | -0/+2 |
| | | |||||
* | | (merge 3.2) Issue #12493: subprocess: communicate() handles EINTR | Victor Stinner | 2011-07-05 | 1 | -0/+16 |
|\ \ | |/ | | | | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe. | ||||
| * | Issue #12493: subprocess: communicate() handles EINTR | Victor Stinner | 2011-07-05 | 1 | -0/+16 |
| | | | | | | | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe. | ||||
* | | Issue #12497: Install test/data to prevent failures of the various codecmaps | Ned Deily | 2011-07-05 | 1 | -1/+1 |
|\ \ | |/ | | | | | tests. | ||||
| * | Issue #12497: Install test/data to prevent failures of the various codecmaps | Ned Deily | 2011-07-05 | 1 | -1/+1 |
| | | | | | | | | tests. | ||||
* | | Issue #12469: fix signal order check of test_signal | Victor Stinner | 2011-07-04 | 1 | -5/+6 |
| | | | | | | | | | | | | | | When signals are unblocked, pending signal ared delivered in the reverse order of their number (also on Linux, not only on FreeBSD 6). Don't sort signals by their number if signals were not blocked (test_signum). | ||||
* | | Issue #12469: test_signal checks wakeup signals order, except on freebsd6 | Victor Stinner | 2011-07-04 | 1 | -4/+4 |
| | | | | | | | | | | On FreeBSD 6, when signals are unblocked, FreeBSD 6 delivers signals in the reverse order of their number. | ||||
* | | Issue #12469: partial revert of 024827a9db64, freebsd6 thread initialization | Victor Stinner | 2011-07-04 | 1 | -3/+0 |
| | | | | | | | | | | | | | | * Don't create a thread at startup anymore to initialize the pthread library: it changes the behaviour of many functions related to signal handling like sigwait() * Reenable test_sigtimedwait_poll() on FreeBSD 6 | ||||
* | | Issue #12469: replace assertions by explicit if+raise | Victor Stinner | 2011-07-04 | 1 | -16/+32 |
| | | |||||
* | | (merge 3.2) Issue #12469: Run wakeup and pending signal tests in a subprocess | Victor Stinner | 2011-07-04 | 1 | -238/+256 |
|\ \ | |/ | | | | | | | to run the test in a fresh process with only one thread and to not change signal handling of the parent process. | ||||
| * | Issue #12469: Run "wakeup" signal tests in subprocess to run the test in a | Victor Stinner | 2011-07-04 | 1 | -37/+68 |
| | | | | | | | | | | fresh process with only one thread and to not change signal handling of the parent process. | ||||
| * | Issue #12429: Skip interrupted write tests on FreeBSD <= 7 | Victor Stinner | 2011-07-04 | 1 | -0/+2 |
| | | | | | | | | On FreeBSD, the SIGALRM signal is sometimes received by the reader thread. | ||||
* | | Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run | Ned Deily | 2011-07-04 | 2 | -8/+8 |
|\ \ | |/ | | | | | | | test_tk or test_ttk_guionly under a username that is not currently logged in to the console windowserver (as may be the case under buildbot or ssh). | ||||
| * | Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run | Ned Deily | 2011-07-04 | 2 | -8/+8 |
| | | | | | | | | | | test_tk or test_ttk_guionly under a username that is not currently logged in to the console windowserver (as may be the case under buildbot or ssh). | ||||
* | | merge from 3.2 | Senthil Kumaran | 2011-07-04 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Fix closes issue12471 - wrong TypeError message when '%i' format spec was used. | Senthil Kumaran | 2011-07-04 | 1 | -0/+1 |
| | | |||||
* | | merge from 3.2 | Senthil Kumaran | 2011-07-04 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix closes issue issue12470 - check for utime for the skipUnless condition. | Senthil Kumaran | 2011-07-04 | 1 | -1/+1 |
| | | |||||
* | | (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. |