summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* #18833: merge with 3.3.Ezio Melotti2013-08-251-0/+8
|\
| * #18833: add a test for test_telnetlib. Patch by Alex Volkov.Ezio Melotti2013-08-251-0/+8
| |
* | Issue #18808: Non-daemon threads are now automatically joined when a ↵Antoine Pitrou2013-08-251-0/+48
| | | | | | | | sub-interpreter is shutdown (it would previously dump a fatal error).
* | Merge.Charles-François Natali2013-08-251-0/+17
|\ \ | |/
| * Merge.Charles-François Natali2013-08-251-0/+17
| |\
| | * Issue #18763: subprocess: The file descriptors are now closed after calling theCharles-François Natali2013-08-251-0/+17
| | | | | | | | | | | | preexec_fn callback, which may open file descriptors.
* | | Merge #16611: BaseCookie now parses 'secure' and 'httponly' flags.R David Murray2013-08-251-1/+39
|\ \ \ | |/ /
| * | #16611: BaseCookie now parses 'secure' and 'httponly' flags.R David Murray2013-08-251-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it generated them if they were given a value, but completely ignored them if they were present in the string passed in to be parsed. Now if the flag appears on a cookie, the corresponding Morsel key will reference a True value. Other pre-existing behavior is retained in this maintenance patch: if the source contains something like 'secure=foo', morsel['secure'] will return 'foo'. Since such a value doesn't round trip and never did (and would be a surprising occurrence) a subsequent non-bug-fix patch may change this behavior. Inspired by a patch from Julien Phalip, who reviewed this one.
* | | Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X TigerChristian Heimes2013-08-251-7/+15
|\ \ \ | |/ /
| * | Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X TigerChristian Heimes2013-08-251-7/+15
| |/
* | Issue #18756: make test_urandom_failure more robust by executing its code in ↵Antoine Pitrou2013-08-241-10/+19
|\ \ | |/ | | | | a subprocess
| * Issue #18756: make test_urandom_failure more robust by executing its code in ↵Antoine Pitrou2013-08-241-10/+19
| | | | | | | | a subprocess
* | (Merge 3.3) test_socket: cancel scheduled alarm on test failureVictor Stinner2013-08-241-0/+1
|\ \ | |/
| * test_socket: cancel scheduled alarm on test failureVictor Stinner2013-08-241-0/+1
| |
* | remove support for compiling on systems without getcwd()Benjamin Peterson2013-08-241-33/+31
| | | | | | | | | | Do we need a fallback implementation of getcwd() from 1991 that claims to support "really old Unix systems"? I don't think so.
* | #18798: merge typo fix from 3.3 and also use two unused variables.Ezio Melotti2013-08-231-1/+5
|\ \ | |/
| * #18798: fix typo in test_fcntl. Patch by Vajrasky Kok.Ezio Melotti2013-08-231-1/+1
| |
* | Stop using assertEquals.Brett Cannon2013-08-231-4/+4
| |
* | Make test_import more robust and stop using assertRaisesRegexp().Brett Cannon2013-08-231-2/+3
| |
* | (Merge 3.3) Close #17702: On error, os.environb now removes suppress the exceptVictor Stinner2013-08-231-0/+3
|\ \ | |/ | | | | context when raising a new KeyError with the original key.
| * Close #17702: On error, os.environb now removes suppress the except contextVictor Stinner2013-08-231-0/+3
| | | | | | | | when raising a new KeyError with the original key.
* | Delete merge markersBrett Cannon2013-08-231-3/+1
| |
* | merge for issue #18755Brett Cannon2013-08-231-0/+9
|\ \ | |/
| * Issue #18755: Allow imp.load_*() loaders to have get_data() calledBrett Cannon2013-08-231-0/+7
| | | | | | | | multiple times.
* | Make test for semaphore tracker capture and check the debug output.Richard Oudkerk2013-08-221-7/+7
| |
* | Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_ObjSerhiy Storchaka2013-08-221-0/+4
|\ \ | |/ | | | | | | | | argument. This is needed for support Tcl/Tk 8.6.
| * Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_ObjSerhiy Storchaka2013-08-221-0/+4
| | | | | | | | | | | | argument. This is needed for support Tcl/Tk 8.6.
* | Merge #18324: set_payload now correctly handles binary input.R David Murray2013-08-221-0/+36
|\ \ | |/
| * #18324: set_payload now correctly handles binary input.R David Murray2013-08-221-0/+36
| | | | | | | | | | | | | | | | | | | | | | This also backs out the previous fixes for for #14360, #1717, and #16564. Those bugs were actually caused by the fact that set_payload didn't decode to str, thus rendering the model inconsistent. This fix does mean the data processed by the encoder functions goes through an extra encode/decode cycle, but it means the model is always consistent. Future API updates will provide a better way to encode payloads, which will bypass this minor de-optimization. Tests by Vajrasky Kok.
| * Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as ↵Antoine Pitrou2013-08-215-15/+17
| | | | | | | | possible, since "localhost" goes through a DNS lookup under recent Windows versions.
* | Cleanup test_builtinVictor Stinner2013-08-211-12/+4
| |
* | Use new new stat.S_ISDOOR() function, instead of hardcoded maskVictor Stinner2013-08-211-1/+2
| |
* | Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as ↵Antoine Pitrou2013-08-215-14/+17
| | | | | | | | possible, since "localhost" goes through a DNS lookup under recent Windows versions.
* | Close #18794: Add a fileno() method and a closed attribute to select.devpollVictor Stinner2013-08-213-0/+72
| | | | | | | | | | | | objects. Add also tests on fileno() method and closed attribute of select.epoll and select.kqueue.
* | Merge headsSerhiy Storchaka2013-08-211-2/+4
|\ \
| * | Issue #18762: Print debug info on failure to create new forkserver process.Richard Oudkerk2013-08-211-2/+4
| | | | | | | | | | | | Also modify test code to hopefully avoid deadlock on failure.
* | | Issue #17119: Fixed integer overflows when processing large strings and tuplesSerhiy Storchaka2013-08-211-1/+15
|\ \ \ | |/ / |/| / | |/ in the tkinter module.
| * Issue #17119: Fixed integer overflows when processing large strings and tuplesSerhiy Storchaka2013-08-211-1/+15
| | | | | | | | in the tkinter module.
* | Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.Christian Heimes2013-08-211-0/+32
|\ \ | |/ | | | | | | A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
| * Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.Christian Heimes2013-08-211-0/+32
| | | | | | | | | | A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
* | Fix rev85282, add missing import of subprocess moduleChristian Heimes2013-08-201-0/+1
| |
* | Issue #8865: Concurrent invocation of select.poll.poll() now raises aSerhiy Storchaka2013-08-201-2/+40
|\ \ | |/ | | | | RuntimeError exception. Patch by Christian Schubert.
| * Issue #8865: Concurrent invocation of select.poll.poll() now raises aSerhiy Storchaka2013-08-201-2/+40
| | | | | | | | RuntimeError exception. Patch by Christian Schubert.
* | Issue #7732: try to fix test_bug7732's flakiness on Windows by executing it ↵Antoine Pitrou2013-08-191-5/+3
| | | | | | | | in a fresh temporary directory.
* | Issue #2537: Remove breaked check which prevented valid regular expressions.Serhiy Storchaka2013-08-191-0/+10
|\ \ | |/ | | | | | | | | Patch by Meador Inge. See also issue #18647.
| * Issue #2537: Remove breaked check which prevented valid regular expressions.Serhiy Storchaka2013-08-191-0/+10
| | | | | | | | | | | | Patch by Meador Inge. See also issue #18647.
* | Make test_wakeup_write_error more robustAntoine Pitrou2013-08-171-0/+10
| | | | | | | | (trying to fix a failure on the FreeBSD 9.0 buildbot)
* | Issue #16105: When a signal handler fails to write to the file descriptor ↵Antoine Pitrou2013-08-171-0/+41
| | | | | | | | registered with ``signal.set_wakeup_fd()``, report an exception instead of ignoring the error.
* | #18466: merge with 3.3.Ezio Melotti2013-08-175-5/+5
|\ \ | |/
| * #18466: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-175-5/+5
| |