Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #18615: Make sndhdr return namedtuples. | R David Murray | 2014-10-09 | 1 | -0/+13 |
| | | | | Patch by Claudiu Popa. | ||||
* | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵ | Antoine Pitrou | 2014-10-08 | 1 | -1/+17 |
|\ | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon. | ||||
| * | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵ | Antoine Pitrou | 2014-10-08 | 1 | -1/+17 |
| | | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon. | ||||
* | | Issue #21965: Add support for in-memory SSL to the ssl module. | Antoine Pitrou | 2014-10-05 | 1 | -2/+160 |
| | | | | | | | | Patch by Geert Jansen. | ||||
* | | Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called ↵ | Antoine Pitrou | 2014-10-05 | 1 | -0/+36 |
|\ \ | |/ | | | | | with an iterator alive. | ||||
| * | Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called ↵ | Antoine Pitrou | 2014-10-05 | 1 | -0/+36 |
| | | | | | | | | with an iterator alive. | ||||
* | | #16518: Bring error messages in harmony with docs ("bytes-like object") | R David Murray | 2014-10-05 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | Some time ago we changed the docs to consistently use the term 'bytes-like object' in all the contexts where bytes, bytearray, memoryview, etc are used. This patch (by Ezio Melotti) completes that work by changing the error messages that previously reported that certain types did "not support the buffer interface" to instead say that a bytes-like object is required. (The glossary entry for bytes-like object references the discussion of the buffer protocol in the docs.) | ||||
* | | Merge 3.4 | Victor Stinner | 2014-10-05 | 7 | -12/+20 |
|\ \ | |/ | |||||
| * | cleanup test_posix | Victor Stinner | 2014-10-05 | 1 | -9/+10 |
| | | |||||
| * | Issue #22390: Remove files created by tests | Victor Stinner | 2014-10-05 | 7 | -3/+10 |
| | | |||||
* | | (Merge 3.4) Issue #22290: Fix error handling in the _posixsubprocess module. | Victor Stinner | 2014-10-05 | 1 | -0/+33 |
|\ \ | |/ | | | | | | | | | | | | | * Don't call the garbage collector with an exception set: it causes an assertion to fail in debug mode. * Enhance also error handling if allocating an array for the executable list failed. * Add an unit test for 4 different errors in the _posixsubprocess module. | ||||
| * | Issue #22290: Fix error handling in the _posixsubprocess module. | Victor Stinner | 2014-10-05 | 1 | -0/+33 |
| | | | | | | | | | | | | | | | | * Don't call the garbage collector with an exception set: it causes an assertion to fail in debug mode. * Enhance also error handling if allocating an array for the executable list failed. * Add an unit test for 4 different errors in the _posixsubprocess module. | ||||
* | | Issue #11271: concurrent.futures.Executor.map() now takes a *chunksize* | Antoine Pitrou | 2014-10-04 | 1 | -0/+16 |
| | | | | | | | | | | argument to allow batching of tasks in child processes and improve performance of ProcessPoolExecutor. Patch by Dan O'Reilly. | ||||
* | | Fixed tests on Windows for issue #21883. | Serhiy Storchaka | 2014-10-04 | 1 | -1/+2 |
| | | |||||
* | | Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with | Serhiy Storchaka | 2014-10-04 | 3 | -16/+35 |
| | | | | | | | | more helpful error message for unsupported or mismatched types of arguments. | ||||
* | | merge 3.4 | Benjamin Peterson | 2014-10-03 | 1 | -0/+15 |
|\ \ | |/ | |||||
| * | separate cert loading tests into Windows and non-Windows cases | Benjamin Peterson | 2014-10-03 | 1 | -0/+15 |
| | | |||||
* | | merge 3.4 (#22449) | Benjamin Peterson | 2014-10-03 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | also use openssl envvars to find certs on windows (closes #22449) | Benjamin Peterson | 2014-10-03 | 1 | -0/+8 |
| | | | | | | | | Patch by Christian Heimes and Alex Gaynor. | ||||
* | | Merge: #12780: update inspect test skipIf for PEP 3147. | R David Murray | 2014-10-03 | 1 | -4/+5 |
|\ \ | |/ | |||||
| * | #12780: update inspect test skipIf for PEP 3147. | R David Murray | 2014-10-03 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | The test needs to be skipped if unicodedata is either part of the main binary (a repackaging of cpython on Windows?) or has python source (pypy?). PEP 3147 makes __file__ point to the .py source, so we need to change the extension check from looking for the old .pyc/.pyo to just looking for .py. Note that this skip should never trigger on CPython itself, so one could argue it should be dropped instead. But since it exists, why risk breaking someone else's python. | ||||
* | | Make test_datetime a better citizen (issue #22540) | Antoine Pitrou | 2014-10-03 | 2 | -6/+6 |
| | | |||||
* | | Merge: #8473: Add tests that doctest uses universal newlines in testfile. | R David Murray | 2014-10-03 | 1 | -0/+30 |
|\ \ | |/ | |||||
| * | #8473: Add tests that doctest uses universal newlines in testfile. | R David Murray | 2014-10-03 | 1 | -0/+30 |
| | | | | | | | | Python3 does not have the bug covered by the issue. | ||||
* | | Issue #20079: Fixed tests. | Serhiy Storchaka | 2014-10-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #20079: Fixed tests. | Serhiy Storchaka | 2014-10-02 | 1 | -1/+1 |
| | | |||||
* | | Closes #20218: Added convenience methods read_text/write_text and read_bytes/ | Georg Brandl | 2014-10-01 | 1 | -0/+17 |
| | | | | | | | | | | | | write_bytes to pathlib.Path objects. Thanks to Christopher Welborn and Ram Rachum for original patches. | ||||
* | | Issue #22333: test_threaded_import now displays elapsed time in verbose mode. | Victor Stinner | 2014-09-30 | 1 | -0/+4 |
| | | |||||
* | | Issue #22333: Extend timeout in test_threaded_import | Victor Stinner | 2014-09-30 | 1 | -1/+1 |
| | | | | | | | | | | | | Check if the sporadic failure is related to a timeout. The test just failed on the buildbot "x86 Windows7 3.x": 1 thread done / 20 (the 'done' condition was not signaled because 1 < 20). | ||||
* | | (Merge 3.4) faulthandler: test_gil_released() now uses _sigsegv() instead of | Victor Stinner | 2014-09-30 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | | | | | _read_null(), because _read_null() cannot be used on AIX. On AIX, reading from NULL is allowed: the first page of memory is a mapped read-only on AIX. _read_null() and _sigabrt() don't accept parameters. | ||||
| * | faulthandler: test_gil_released() now uses _sigsegv() instead of _read_null(), | Victor Stinner | 2014-09-30 | 1 | -2/+2 |
| | | | | | | | | | | because _read_null() cannot be used on AIX. On AIX, reading from NULL is allowed: the first page of memory is a mapped read-only on AIX. | ||||
* | | merge 3.4 (#22517) | Benjamin Peterson | 2014-09-30 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | merge 3.3 (#22517) | Benjamin Peterson | 2014-09-30 | 1 | -0/+6 |
| |\ | |||||
| | * | clear BufferedRWPair weakrefs on deallocation (closes #22517) | Benjamin Peterson | 2014-09-30 | 1 | -0/+6 |
| | | | |||||
* | | | Issue #22437: Number of capturing groups in regular expression is no longer | Serhiy Storchaka | 2014-09-29 | 1 | -2/+16 |
| | | | | | | | | | | | | limited by 100. | ||||
* | | | #17442: Add chained traceback support to InteractiveInterpreter. | R David Murray | 2014-09-29 | 1 | -0/+35 |
| | | | | | | | | | | | | Patch by Claudiu Popa. | ||||
* | | | Closes issue #20858: Enhancements/fixes to pure-python datetime module | Alexander Belopolsky | 2014-09-28 | 1 | -5/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch brings the pure-python datetime more in-line with the C module. Patch contributed by Brian Kearns, a PyPy developer. PyPy project has been running these modifications in PyPy2 stdlib. This commit includes: - General PEP8/cleanups; - Better testing of argument types passed to constructors; - Removal of duplicate operations; - Optimization of timedelta creation; - Caching the result of __hash__ like the C accelerator; - Enhancements/bug fixes in tests. | ||||
* | | | merge 3.4 (#22379) | Benjamin Peterson | 2014-09-28 | 3 | -15/+12 |
|\ \ \ | |/ / | |||||
| * | | check that exception messages are not empty (#22379) | Benjamin Peterson | 2014-09-28 | 3 | -15/+12 |
| | | | | | | | | | | | | Patch by Yongzhi Pan. | ||||
* | | | Issue #9850: Fixed macpath.join() for empty first component. Patch by | Serhiy Storchaka | 2014-09-27 | 1 | -0/+24 |
|\ \ \ | |/ / | | | | | | | Oleg Oshmyan. | ||||
| * | | Issue #9850: Fixed macpath.join() for empty first component. Patch by | Serhiy Storchaka | 2014-09-27 | 1 | -0/+24 |
| | | | | | | | | | | | | Oleg Oshmyan. | ||||
| * | | asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module | Yury Selivanov | 2014-09-25 | 1 | -4/+11 |
| | | | |||||
| * | | asyncio: Improve canceled timer handles cleanup. Closes issue #22448. | Yury Selivanov | 2014-09-25 | 2 | -10/+88 |
| | | | | | | | | | | | | Patch by Joshua Moore-Oliva. | ||||
* | | | Issue #16324: _charset parameter of MIMEText now also accepts ↵ | Berker Peksag | 2014-09-26 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | email.charset.Charset instances. Initial patch by Claude Paroz. | ||||
* | | | inspect: Fix getsource() to support decorated functions. | Yury Selivanov | 2014-09-26 | 2 | -0/+16 |
| | | | | | | | | | | | | Issue #1764286. Patch by Claudiu Popa. | ||||
* | | | os: Include posix functions in os.__all__. Closes issue #18554. | Yury Selivanov | 2014-09-26 | 1 | -0/+8 |
| | | | | | | | | | | | | Patch by Ronald Oussoren. | ||||
* | | | asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module | Yury Selivanov | 2014-09-25 | 1 | -4/+11 |
| | | | |||||
* | | | asyncio: Improve canceled timer handles cleanup. Closes issue #22448. | Yury Selivanov | 2014-09-25 | 2 | -10/+88 |
| | | | | | | | | | | | | Patch by Joshua Moore-Oliva. | ||||
* | | | Issue #18093: fix test_capi test skip due to _testembed move | Nick Coghlan | 2014-09-25 | 1 | -1/+1 |
| | | | |||||
* | | | asyncio: Reverting 69d474dab479 as issue #21645 is now closed and debug is ↵ | Yury Selivanov | 2014-09-25 | 1 | -6/+0 |
| | | | | | | | | | | | | no longer needed |