summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-2721-82/+260
| | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-2714-37/+26
|\ | | | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-2714-37/+26
| | | | | | | | error messages and comments.
* | Close #11619: The parser and the import machinery do not encode UnicodeVictor Stinner2013-08-261-1/+9
| | | | | | | | filenames anymore on Windows.
* | Remove the obsolete XMLParser._start/_start_list duality.Eli Bendersky2013-08-261-26/+12
| | | | | | | | | | XMLParser configures expat to report attributes in a list (ordered_attributes), so only _start_list is needed. Rename it to _start and kill _start.
* | #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.
* | | Issue #18817: Fix a resource warning in Lib/aifc.py demo. Patch bySerhiy Storchaka2013-08-251-21/+19
|\ \ \ | |/ / | | | | | | Vajrasky Kok.
| * | Issue #18817: Fix a resource warning in Lib/aifc.py demo.Serhiy Storchaka2013-08-251-19/+23
| | |
* | | 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-241-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-241-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-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.
* | 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-223-16/+42
|\ \ | |/
| * #18324: set_payload now correctly handles binary input.R David Murray2013-08-223-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-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.