Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename _imp initialization function to follow conventions (#5432) | Benjamin Peterson | 2018-01-29 | 5 | -8/+7 |
| | | | When the C imp module became _imp in 6f44d66bc491bad5b8d897a68da68e009e27829d, the initialization function should have been renamed from PyInit_imp to PyInit__imp. | ||||
* | bpo-32703: Fix coroutine resource warning in case where there's an error ↵ | Yury Selivanov | 2018-01-29 | 3 | -39/+72 |
| | | | | | (GH-5410) The commit removes one unnecessary "if" clause in genobject.c. That "if" clause was masking un-awaited coroutines warnings just to make writing unittests more convenient. | ||||
* | bpo-32707: Fix warnings in hamt.c (#5430) | Yury Selivanov | 2018-01-29 | 1 | -3/+5 |
| | |||||
* | bpo-27931: Fix email address header parsing error (#5329) | jayyyin | 2018-01-29 | 3 | -1/+25 |
| | | | | Correctly handle addresses whose username is an empty quoted string. | ||||
* | bpo-25988: Deprecate exposing collections.abc in collections GH-5414 | Raymond Hettinger | 2018-01-29 | 4 | -5/+16 |
| | |||||
* | Add a test for pdb until command in coroutine (#5427) | Andrew Svetlov | 2018-01-29 | 1 | -0/+46 |
| | |||||
* | bpo-28414: ssl module idna test (#5395) | Christian Heimes | 2018-01-29 | 2 | -1/+68 |
| | | | | | | | Add test cases for IDNA 2003 and 2008 host names. IDNA 2003 internationalized host names are working since bpo-31399 has landed. IDNA 2008 deviations are still broken and will be fixed in another patch. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-31429: Define TLS cipher suite on build time (#3532) | Christian Heimes | 2018-01-29 | 8 | -48/+153 |
| | | | | | | | | | | | | | Until now Python used a hard coded white list of default TLS cipher suites. The old approach has multiple downsides. OpenSSL's default selection was completely overruled. Python did neither benefit from new cipher suites (ChaCha20, TLS 1.3 suites) nor blacklisted cipher suites. For example we used to re-enable 3DES. Python now defaults to OpenSSL DEFAULT cipher suite selection and black lists all unwanted ciphers. Downstream vendors can override the default cipher list with --with-ssl-default-suites. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-20891: Reenable test_embed.test_bpo20891() (GH-5420) | Victor Stinner | 2018-01-29 | 1 | -3/+0 |
| | |||||
* | bpo-28685: Fix compiler warning (GH-5423) | Victor Stinner | 2018-01-29 | 1 | -1/+2 |
| | |||||
* | bpo-32706: Skip test_ftplib.test_check_hostname() (#5422) | Victor Stinner | 2018-01-29 | 1 | -0/+1 |
| | | | | | | This test is unstable and currently prevents to make any new change since the test always fails on Travis CI. Skip the test to get more time to fix it. | ||||
* | bpo-31233, bpo-31151: Document socketserver changes (#5417) | Victor Stinner | 2018-01-29 | 2 | -0/+23 |
| | | | | | socketserver.ForkingMixIn.server_close() and socketserver.ThreadingMixIn.server_close() now waits until all child processes and non-daemonic threads complete. | ||||
* | bpo-20891: Py_Initialize() now creates the GIL (#4700) | Victor Stinner | 2018-01-29 | 4 | -52/+43 |
| | | | | The GIL is no longer created "on demand" to fix a race condition when PyGILState_Ensure() is called in a non-Python thread. | ||||
* | bpo-32705: Current Android does not have posix_spawn (#5413) | Chih-Hsuan Yen | 2018-01-29 | 1 | -0/+7 |
| | |||||
* | Fix minor markup typo (#5407) | cocoatomo | 2018-01-29 | 1 | -1/+1 |
| | |||||
* | bpo-32591: silence deprecation warnings in test_coroutine (GH-5412) | Nathaniel J. Smith | 2018-01-29 | 1 | -10/+20 |
| | |||||
* | bpo-23749: Make start-tls tests more stable on win7 buildbot (GH-5409) | Yury Selivanov | 2018-01-29 | 1 | -2/+10 |
| | | | | | | | To mitigate the situation when the buildbot is under load and is unable to send/receive data fast enough: * reduce the size of the payload * set a generous timeout for socket ops | ||||
* | bpo-32251: Fix docs (#5408) | Yury Selivanov | 2018-01-29 | 2 | -3/+4 |
| | |||||
* | bpo-32650: Add an asyncgen pdb test (#5406) | Yury Selivanov | 2018-01-29 | 1 | -0/+60 |
| | |||||
* | bpo-32688: Make why the line is commented out clear (GH-5405) | Xiang Zhang | 2018-01-29 | 1 | -1/+1 |
| | |||||
* | bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons ↵ | embg | 2018-01-29 | 5 | -71/+462 |
| | | | | (#582) | ||||
* | bpo-20104: Expose `posix_spawn` in the os module (GH-5109) | Pablo Galindo | 2018-01-29 | 7 | -4/+277 |
| | | | | | Add os.posix_spawn to wrap the low level POSIX API of the same name. Contributed by Pablo Galindo. | ||||
* | Document the error return of PyLong_As* APIs. (#5396) | Gregory P. Smith | 2018-01-29 | 1 | -0/+34 |
| | | | | | | Document the error return of PyLong_As* APIs. A frequent Python C API usage error is neglecting to check the return value and/or PyErr_Occurred(). | ||||
* | bpo-32650 Add support for async generators and more test for coroutines in ↵ | Pablo Galindo | 2018-01-29 | 2 | -7/+50 |
| | | | | pdb (#5403) | ||||
* | bpo-32650: Add native coroutine support to bdb when stepping over line (GH-5400) | Pablo Galindo | 2018-01-29 | 3 | -6/+63 |
| | |||||
* | Fix trivial typo in test_dataclasses.py. (GH-5398) | Eric V. Smith | 2018-01-29 | 1 | -1/+1 |
| | |||||
* | bpo-32699: Improves doc for .pth files in presense of a ._pth file (#5399) | Steve Dower | 2018-01-28 | 1 | -4/+4 |
| | |||||
* | bpo-32373: Add socket.getblocking() method. (#4926) | Yury Selivanov | 2018-01-28 | 4 | -4/+119 |
| | |||||
* | bpo-32251: Implement asyncio.BufferedProtocol. (#4755) | Yury Selivanov | 2018-01-28 | 8 | -44/+763 |
| | |||||
* | Revert "bpo-32221: makeipaddr(): remove interface part + speedup (GH-4724)" ↵ | Yury Selivanov | 2018-01-28 | 4 | -94/+28 |
| | | | | | (#5394) This reverts commit 47c0b1f7d4115e6f15e6776c1f91d28e7d96fe0c. | ||||
* | bpo-32697: Definition order of kwonly params is now guaranteed preserved. ↵ | larryhastings | 2018-01-28 | 3 | -2/+63 |
| | | | | | | (#5391) Definition order of kwonly params is now guaranteed preserved. | ||||
* | bpo-32327: Revert loop.run_in_executor behaviour: return a Future. (#5392) | Yury Selivanov | 2018-01-28 | 4 | -12/+14 |
| | | | | I've run some tests on 3.7 asyncio and it appears that too many things assume that run_in_executor returns a Future. | ||||
* | bpo-32690: Preserve order of locals() (#5379) | Raymond Hettinger | 2018-01-28 | 2 | -2/+4 |
| | |||||
* | bpo-32228: Reset raw_pos after unwinding the raw stream (#4858) | Nitish Chandra | 2018-01-28 | 3 | -4/+28 |
| | | | Ensure that ``truncate()`` preserves the file position (as reported by ``tell()``) after writes longer than the buffer size. | ||||
* | Fix PyTrace_RETURN documentation (GH-5384) | Xiang Zhang | 2018-01-28 | 1 | -1/+1 |
| | | | It will be triggered when propagating an exception. | ||||
* | Add example for PEP 557. (GH-5383) | Eric V. Smith | 2018-01-28 | 1 | -0/+11 |
| | |||||
* | bpo-32660: Solaris should support constants like termios' FIONREAD (#5328) | jcea | 2018-01-28 | 2 | -0/+8 |
| | |||||
* | bpo-32659: Solaris "stat" should support "st_fstype" (#5307) | jcea | 2018-01-28 | 3 | -0/+28 |
| | | | | | | * bpo-32659: Solaris "stat" should support "st_fstype" * Add 'versionadded' | ||||
* | bpo-32685: Improve suggestion for print statement (GH-5375) | Nitish Chandra | 2018-01-28 | 3 | -14/+39 |
| | | | | | | | Better account for single-line compound statements and semi-colon separated statements when suggesting Py3 replacements for Py2 print statements. Initial patch by Nitish Chandra. | ||||
* | bpo-32649: Add C API docs for per-opcode tracing & profiling (GH-5360) | Xiang Zhang | 2018-01-28 | 2 | -9/+22 |
| | | | | Updating the C API docs was missed when the per-opcode tracing & profiling support was initially added. | ||||
* | bpo-32687: Fix wrong meaning of args for PyTrace_LINE/CALL in documentation ↵ | Xiang Zhang | 2018-01-28 | 1 | -2/+2 |
| | | | | | | (#5361) | ||||
* | bpo-30306: Add missing NEWS entry (GH-5374) | Nick Coghlan | 2018-01-28 | 1 | -0/+4 |
| | |||||
* | bpo-32206: Update pdb usage to include new module option (GH-5111) | Mario Corchero | 2018-01-28 | 2 | -3/+8 |
| | |||||
* | bpo-30306: release arguments of contextmanager (GH-1500) | Martin Teichmann | 2018-01-28 | 2 | -0/+50 |
| | | | | | | | | | | | | | | | | The arguments to a generator function which is declared as a contextmanager are stored inside the context manager, and thus are kept alive, even when it is used as a regular context manager, and not as a function decorator (where it needs the original arguments to recreate the generator on each call). This is a possible unnecessary memory leak, so this changes contextmanager.__enter__ to release the saved arguments, as that method being called means that particular CM instance isn't going to need to recreate the underlying generator. Patch by Martin Teichmann. | ||||
* | Pep 557 What's New (GH-5371) | Eric V. Smith | 2018-01-28 | 1 | -0/+18 |
| | | | | Add PEP 557 Data CLasses to What's New. | ||||
* | bpo-32677: Optimize str.isascii() (GH-5356) | INADA Naoki | 2018-01-28 | 2 | -4/+43 |
| | |||||
* | bpo-32513: Make it easier to override dunders in dataclasses. (GH-5366) | Eric V. Smith | 2018-01-28 | 3 | -294/+678 |
| | | | Class authors no longer need to specify repr=False if they want to provide a custom __repr__ for dataclasses. The same thing applies for the other dunder methods that the dataclass decorator adds. If dataclass finds that a dunder methods is defined in the class, it will not overwrite it. | ||||
* | bpo-32622: Normalize ENOTCONN to ConnectionError on macOS (GH-5369) | Yury Selivanov | 2018-01-27 | 1 | -0/+11 |
| | | | | On mac, sendfile throws ENOTCONN on a repeated sendfile call if the connection is closed. Normalize it to behave like other systems. | ||||
* | bpo-32221: makeipaddr(): remove interface part + speedup (GH-4724) | Коренберг Марк | 2018-01-27 | 4 | -28/+94 |
| | |||||
* | bpo-32622: Fix AbstractEventLoop.sendfile signature in documentation. (GH-5368) | Elvis Pranskevichus | 2018-01-27 | 1 | -1/+1 |
| |