summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix ResourceWarning in test_asyncio.test_windows_events:Victor Stinner2014-01-101-0/+1
| | | | close the write end of the socket pair
* Cleanup properly proactor event loopVictor Stinner2014-01-102-4/+23
| | | | | | | | | * store the "self reading" future when the "self pipe" is closed (when the event loop is closed) * store "accept" futures to cancel them when we stop serving * close the "accept socket" if the "accept future" is cancelled Fix many warnings which can be seen when unit tests are run in verbose mode.
* Try to fix some ttk tests. Error messages were changed in 8.6b3.Serhiy Storchaka2014-01-101-3/+3
|\
| * Try to fix some ttk tests. Error messages were changed in 8.6b3.Serhiy Storchaka2014-01-101-3/+3
| |
* | asyncio: Minimal pty support in UNIX read pipe, by Jonathan Slenders.Guido van Rossum2014-01-102-2/+47
| |
* | asyncio: Fix race in subprocess transport, by Victor Stinner.Guido van Rossum2014-01-101-1/+2
| |
* | asyncio: Tiny cleanup in streams.py.Guido van Rossum2014-01-101-2/+2
| |
* | asyncio: Don't special-case GeneratorExit in Condition.wait().Guido van Rossum2014-01-101-6/+1
| |
* | null merge from 3.3Benjamin Peterson2014-01-100-0/+0
|\ \ | |/
| * fix build when SCHED_SPORADIC is defined (closes #20217)Benjamin Peterson2014-01-102-1/+3
| |
* | Issue #19804: The test_find_mac test in test_uuid is now skipped if theSerhiy Storchaka2014-01-102-0/+9
|\ \ | |/ | | | | ifconfig executable is not available.
| * Issue #19804: The test_find_mac test in test_uuid is now skipped if theSerhiy Storchaka2014-01-102-0/+9
| | | | | | | | ifconfig executable is not available.
* | Remove an unneeded cast.Brett Cannon2014-01-101-1/+1
| |
* | Issue #19886: Use better estimated memory requirements for bigmem tests.Serhiy Storchaka2014-01-106-35/+27
|\ \ | |/ | | | | Incorrect requirements can cause memory swapping.
| * Issue #19886: Use better estimated memory requirements for bigmem tests.Serhiy Storchaka2014-01-106-28/+20
| | | | | | | | Incorrect requirements can cause memory swapping.
* | Closes #20200: Argument Clinic custom converter example should be in aZachary Ware2014-01-101-2/+2
| | | | | | | | | | 'python' clinic block, not a 'clinic' clinic block. Patch written by Ryan Smith-Roberts.
* | Issue #20152: import.c now uses Argument Clinic.Brett Cannon2014-01-102-87/+465
| |
* | assertEquals is deprecated, use assertEqual instead.Antoine Pitrou2014-01-091-8/+8
| |
* | Issue #13107: argparse and optparse no longer raises an exception when outputSerhiy Storchaka2014-01-095-6/+102
|\ \ | |/ | | | | | | a help on environment with too small COLUMNS. Based on patch by Elazar Gershuni.
| * Issue #13107: argparse and optparse no longer raises an exception when outputSerhiy Storchaka2014-01-096-6/+103
| | | | | | | | | | a help on environment with too small COLUMNS. Based on patch by Elazar Gershuni.
* | Try to fix test_ssl failures on some buildbotsAntoine Pitrou2014-01-091-2/+2
|\ \ | |/
| * Try to fix test_ssl failures on some buildbotsAntoine Pitrou2014-01-091-2/+2
| |
* | Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵Antoine Pitrou2014-01-093-10/+12
|\ \ | |/ | | | | asked for.
| * Remove conditional: it is useless at this point (OpenSSL headers are not yet ↵Antoine Pitrou2014-01-091-2/+0
| | | | | | | | included)
| * Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵Antoine Pitrou2014-01-093-8/+12
| | | | | | | | asked for.
* | Do not reset the line number because we already set file position to correctSerhiy Storchaka2014-01-092-8/+4
|\ \ | |/ | | | | | | | | value. (fixes error in patch for issue #18960)
| * Do not reset the line number because we already set file position to correctSerhiy Storchaka2014-01-092-8/+4
| | | | | | | | | | | | value. (fixes error in patch for issue #18960)
* | merge 3.3Benjamin Peterson2014-01-092-8/+6
|\ \ | |/
| * clear zip stat cache after each ref leak runBenjamin Peterson2014-01-092-9/+7
| |
* | Issue #18960: Fix bugs with Python source code encoding in the second line.Serhiy Storchaka2014-01-097-5/+87
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment.
| * Issue #18960: Fix bugs with Python source code encoding in the second line.Serhiy Storchaka2014-01-097-5/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment.
* | merge 3.3Benjamin Peterson2014-01-091-3/+1
|\ \ | |/
| * fix zipimport ref leakBenjamin Peterson2014-01-091-3/+1
| |
* | Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPUSerhiy Storchaka2014-01-093-0/+36
|\ \ | |/ | | | | consumption.
| * Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPUSerhiy Storchaka2014-01-093-0/+36
| | | | | | | | consumption.
* | whatsnew: InspectLoader.get_code now concrete, b32decode raises binascii.Error.R David Murray2014-01-083-6/+18
| | | | | | | | And a news item rephrase.
* | Merge: Fix verb tense in base64 docs, and the phrasing of a news entry.R David Murray2014-01-082-4/+4
|\ \ | |/
| * Fix verb tense in base64 docs, and the phrasing of a news entry.R David Murray2014-01-082-4/+4
| |
* | whatsnew: FileIO.readall performance, os.cpu_count.R David Murray2014-01-082-4/+18
| | | | | | | | And more news item tweaks.
* | (Merge 3.3) Issue #20113: Fix test_posix on OpenIndianaVictor Stinner2014-01-081-2/+16
|\ \ | |/
| * Issue #20113: Fix test_posix on OpenIndianaVictor Stinner2014-01-081-2/+16
| |
* | (Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSErrorVictor Stinner2014-01-084-10/+36
|\ \ | |/ | | | | exception on error instead of returning -1.
| * Issue #20113: os.readv() and os.writev() now raise an OSError exception onVictor Stinner2014-01-084-10/+36
| | | | | | | | error instead of returning -1.
* | Issue 19713: Remove PEP 451-related code that should have been factored out.Eric Snow2014-01-082-1240/+1191
| | | | | | | | | | | | This code was an artifact of issuing a DeprecationWarning for the lack of loader.exec_module(). However, we have deferred such warnings to later Python versions.
* | Fixes issue #19081: When a zipimport .zip file in sys.path being imported fromGregory P. Smith2014-01-083-67/+328
|\ \ | |/ | | | | | | | | is modified during the lifetime of the Python process after zipimport has already cached the zip's table of contents we detect this and recover rather than read bad data from the .zip (causing odd import errors).
| * Fixes Issue #19081: When a zipimport .zip file in sys.path being imported fromGregory P. Smith2014-01-083-66/+328
| | | | | | | | | | | | is modified during the lifetime of the Python process after zipimport has already cached the zip's table of contents we detect this and recover rather than read bad data from the .zip (causing odd import errors).
* | Fix typo in asyncio/streams.py.Guido van Rossum2014-01-081-1/+1
| |
* | Issue #19723: Missed one conversion to the new Argument Clinic syntax.Larry Hastings2014-01-071-3/+3
| |
* | Issue #19723: Fix issue number typo in Misc/NEWSZachary Ware2014-01-071-1/+1
| |
* | Issue #12837: Silence a Clang compiler warning on OS X.Brett Cannon2014-01-072-1/+21
| | | | | | | | | | | | | | | | Now makes CPython build without warnings on OS X under Clang with -Wno-unused-value -Wno-empty-body -Qunused-arguments -Wno-deprecated-declarations. Thanks to David Watson for taking an initial stab at a solution.