summaryrefslogtreecommitdiff
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge #16611: BaseCookie now parses 'secure' and 'httponly' flags.R David Murray2013-08-252-11/+58
|\
| * #16611: BaseCookie now parses 'secure' and 'httponly' flags.R David Murray2013-08-252-11/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
| |
* | Closes #18807: pyvenv now takes a --copies argument allowing copies instead ↵Vinay Sajip2013-08-251-5/+11
| | | | | | | | of symlinks even where symlinks are available and the default.
* | 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
* | Close #18538: ``python -m dis`` now uses argparse.Nick Coghlan2013-08-251-19/+8
| | | | | | | | Patch by Michele Orrù.
* | (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-231-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.
* | Issue #17741: use composition, rather than inheritance, for ↵Antoine Pitrou2013-08-231-6/+8
| | | | | | | | | | | | xml.etree.iterparse's result class. Patch by Stefan Behnel.
* | #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
| |
* | #18796: improve documentation of the file argument of dis.show_code. ↵Ezio Melotti2013-08-231-1/+4
| | | | | | | | Initial patch by Vajrasky Kok.
* | Issue #18394: Explicitly close the file object cgi.FieldStorageBrett Cannon2013-08-231-0/+6
| | | | | | | | | | | | | | | | caches. Eliminates the ResoureWarning raised during testing. Patch also independently written by Vajrasky Kok.
* | 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-232-2/+5
|\ \ | |/ | | | | context when raising a new KeyError with the original key.
| * Close #17702: On error, os.environb now removes suppress the except contextVictor Stinner2013-08-232-2/+5
| | | | | | | | when raising a new KeyError with the original key.
* | Delete merge markersBrett Cannon2013-08-231-3/+1
| |
* | merge for issue #18755Brett Cannon2013-08-232-2/+16
|\ \ | |/
| * Issue #18755: Allow imp.load_*() loaders to have get_data() calledBrett Cannon2013-08-232-2/+14
| | | | | | | | multiple times.
* | Make test for semaphore tracker capture and check the debug output.Richard Oudkerk2013-08-221-7/+7
| |
* | Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.Serhiy Storchaka2013-08-222-6/+6
|\ \ | |/
| * Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.Serhiy Storchaka2013-08-222-6/+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.
| * 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.
* | Stop making fork server have copy of semaphore_tracker_fd.Richard Oudkerk2013-08-225-24/+29
| |
* | Issue #18762: Fix EBADF error when using forkserver.Richard Oudkerk2013-08-221-30/+25
| |
* | Merge #18324: set_payload now correctly handles binary input.R David Murray2013-08-213-16/+42
|\ \ | |/
| * #18324: set_payload now correctly handles binary input.R David Murray2013-08-213-16/+42
| | | | | | | | | | | | | | | | | | | | | | 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-225-15/+17
| | | | | | | | possible, since "localhost" goes through a DNS lookup under recent Windows versions.
* | Cleanup test_builtinVictor Stinner2013-08-221-12/+4
| |
* | Use new new stat.S_ISDOOR() function, instead of hardcoded maskVictor Stinner2013-08-221-1/+2
| |
* | Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as ↵Antoine Pitrou2013-08-225-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-223-0/+72
| | | | | | | | | | | | objects. Add also tests on fileno() method and closed attribute of select.epoll and select.kqueue.
* | Merge headsSerhiy Storchaka2013-08-212-2/+19
|\ \
| * | Issue #18762: Print debug info on failure to create new forkserver process.Richard Oudkerk2013-08-212-2/+19
| | | | | | | | | | | | 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-192-2/+10
|\ \ | |/ | | | | | | | | Patch by Meador Inge. See also issue #18647.
| * Issue #2537: Remove breaked check which prevented valid regular expressions.Serhiy Storchaka2013-08-192-2/+10
| | | | | | | | | | | | Patch by Meador Inge. See also issue #18647.
* | Issue #18647: A regular expression in the doctest module rewritten so thatSerhiy Storchaka2013-08-191-1/+1
|\ \ | |/ | | | | | | determined minimal width of repeated subexpression is >0 (an empty line was not matched in any case).