summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12459: time.sleep() now raises a ValueError if the sleep length isVictor Stinner2011-07-051-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 Stinner2011-07-051-0/+2
|\ | | | | | | missing
| * Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missingVictor Stinner2011-07-051-0/+2
| |
* | (merge 3.2) Issue #12451: pydoc: html_getfile() now uses tokenize.open() toVictor Stinner2011-07-051-1/+1
|\ \ | |/ | | | | | | support Python scripts using a encoding different than UTF-8 (read the coding cookie of the script).
| * Issue #12451: pydoc: html_getfile() now uses tokenize.open() to support PythonVictor Stinner2011-07-051-1/+1
| | | | | | | | | | scripts using a encoding different than UTF-8 (read the coding cookie of the script).
* | (merge 3.2) Issue #12493: subprocess: communicate() handles EINTRVictor Stinner2011-07-052-3/+19
|\ \ | |/ | | | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe.
| * Issue #12493: subprocess: communicate() handles EINTRVictor Stinner2011-07-052-3/+19
| | | | | | | | | | 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 codecmapsNed Deily2011-07-051-1/+1
|\ \ | |/ | | | | tests.
| * Issue #12497: Install test/data to prevent failures of the various codecmapsNed Deily2011-07-051-1/+1
| | | | | | | | tests.
| * Merge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.Georg Brandl2011-07-043-5/+5
| |\
| | * Issue #12467: warnings: fix a race condition if a warning is emitted atVictor Stinner2011-07-041-0/+12
| | | | | | | | | | | | shutdown, if globals()['__file__'] is None.
| | * Bump to 3.2.1rc2.Georg Brandl2011-07-032-2/+2
| | |
| | * Update pydoc topics.Georg Brandl2011-07-031-3/+3
| | |
* | | Issue #12469: fix signal order check of test_signalVictor Stinner2011-07-041-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 freebsd6Victor Stinner2011-07-041-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 initializationVictor Stinner2011-07-041-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+raiseVictor Stinner2011-07-041-16/+32
| | |
* | | (merge 3.2) Issue #12469: Run wakeup and pending signal tests in a subprocessVictor Stinner2011-07-041-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 aVictor Stinner2011-07-041-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 <= 7Victor Stinner2011-07-041-0/+2
| | | | | | | | | | | | On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
* | | Issue #12452: Plist and Dict are now deprecatedVictor Stinner2011-07-041-5/+5
| | | | | | | | | | | | Replace PendingDeprecationWarning warnings by DeprecationWarning.
* | | Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to runNed Deily2011-07-043-8/+44
|\ \ \ | |/ / | | | | | | | | | 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 runNed Deily2011-07-043-8/+44
| | | | | | | | | | | | | | | 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.2Senthil Kumaran2011-07-041-0/+1
|\ \ \ | |/ /
| * | Fix closes issue12471 - wrong TypeError message when '%i' format spec was used.Senthil Kumaran2011-07-041-0/+1
| | |
* | | merge from 3.2Senthil Kumaran2011-07-041-1/+1
|\ \ \ | |/ /
| * | Fix closes issue issue12470 - check for utime for the skipUnless condition.Senthil Kumaran2011-07-041-1/+1
| | |
* | | (merge 3.2) Issue #12467: warnings: fix a race condition if a warning isVictor Stinner2011-07-041-0/+12
|\ \ \ | |/ / | | | | | | emitted at shutdown, if globals()['__file__'] is None.
| * | Issue #12467: warnings: fix a race condition if a warning is emitted atVictor Stinner2011-07-041-0/+12
| | | | | | | | | | | | shutdown, if globals()['__file__'] is None.
* | | Merge from 3.2. 'idle_formatwarning' is the correct method name.Senthil Kumaran2011-07-041-1/+1
|\ \ \ | |/ /
| * | Fix closes issue12438 - idlelib.PyShell's showformatwarning method was ↵Senthil Kumaran2011-07-041-1/+1
| | | | | | | | | | | | passing an incorrect arg.
* | | merge from 3.2Senthil Kumaran2011-07-041-1/+0
|\ \ \ | |/ /
| * | Fix closes issue12432 - remove the unused sys from glob.pySenthil Kumaran2011-07-041-1/+0
| | |
* | | (merge 3.2) Issue #12451: pydoc: importfile() now opens the Python script inVictor Stinner2011-07-041-14/+12
|\ \ \ | |/ / | | | | | | | | | binary mode, instead of text mode using the locale encoding, to avoid encoding issues.
| * | Issue #12451: pydoc: importfile() now opens the Python script in binary mode,Victor Stinner2011-07-041-14/+12
| | | | | | | | | | | | instead of text mode using the locale encoding, to avoid encoding issues.
* | | (merge 3.2) Issue #12451: runpy: run_path() now opens the Python script inVictor Stinner2011-07-032-1/+11
|\ \ \ | |/ / | | | | | | | | | 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 Stinner2011-07-032-1/+11
| | | | | | | | | | | | | | | instead of text mode using the locale encoding, to support other encodings than UTF-8 (scripts using the coding cookie).
* | | (merge 3.2) Issue #12451: xml.dom.pulldom: parse() now opens files in binaryVictor Stinner2011-07-031-1/+1
|\ \ \ | |/ / | | | | | | | | | mode instead of the text mode (using the locale encoding) to avoid encoding issues.
| * | Issue #12451: xml.dom.pulldom: parse() now opens files in binary mode insteadVictor Stinner2011-07-031-1/+1
| | | | | | | | | | | | of the text mode (using the locale encoding) to avoid encoding issues.
* | | merge 3.2Benjamin Peterson2011-07-031-0/+12
|\ \ \ | |/ /
| * | never retain a generator's caller's exception state on the generator after a ↵Benjamin Peterson2011-07-031-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 Peterson2011-07-031-0/+15
|\ \ \ | |/ /
| * | merge headsBenjamin Peterson2011-07-034-15/+174
| |\ \ | | |/
| * | restore a generator's caller's exception state both on yield and (last) returnBenjamin Peterson2011-07-031-0/+15
| | | | | | | | | | | | | | | | | | This prevents generator exception state from leaking into the caller. Closes #12475.
* | | Remove mention of medical condition from the test suite.Georg Brandl2011-07-031-4/+4
| | |
* | | Followup to 51c1f2cedb96 (and issue #12456):Antoine Pitrou2011-07-031-10/+10
| | | | | | | | | | | | qsize() raises NotImplementedError on OS X, don't use it.
* | | merge #12147: make send_message correctly handle Sender and Resent- headers.R David Murray2011-07-032-14/+149
|\ \ \ | | |/ | |/|
| * | #12147: make send_message correctly handle Sender and Resent- headers.R David Murray2011-07-032-14/+149
| | | | | | | | | | | | | | | 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 Pitrou2011-07-022-9/+28
| | | | | | | | | | | | concurrent.futures.ProcessPoolExecutor.
* | | Closes #12291 for 3.3 - merged fix from 3.2.Vinay Sajip2011-07-022-1/+25
|\ \ \ | |/ /