ed222a7 | Pablo Galindo | 31 May 2019, 11:13:04 UTC | Update data model docs to include missing attributes for code objects (GH-13696) Include and document co_posonlyargcount and co_kwonlyargcount | 31 May 2019, 11:13:04 UTC |
3a46d5c | Pablo Galindo | 31 May 2019, 11:07:56 UTC | bpo-37108: Support super with methods that use positional-only arguments (GH-13695) | 31 May 2019, 11:07:56 UTC |
c7f803b | Zackery Spytz | 31 May 2019, 09:46:36 UTC | bpo-36379: __ipow__ must be a ternaryfunc, not a binaryfunc (GH-13546) If a type's __ipow__ method was implemented in C, attempting to use the *modulo* parameter would cause crashes. https://bugs.python.org/issue36379 | 31 May 2019, 09:46:36 UTC |
c7f7069 | Christian Heimes | 31 May 2019, 09:44:05 UTC | bpo-34271: Add ssl debugging helpers (GH-10031) The ssl module now can dump key material to a keylog file and trace TLS protocol messages with a tracing callback. The default and stdlib contexts also support SSLKEYLOGFILE env var. The msg_callback and related enums are private members. The feature is designed for internal debugging and not for end users. Signed-off-by: Christian Heimes <christian@python.org> | 31 May 2019, 09:44:05 UTC |
e9b51c0 | Serhiy Storchaka | 31 May 2019, 08:30:37 UTC | bpo-26660, bpo-35144: Fix permission errors in TemporaryDirectory cleanup. (GH-10320) TemporaryDirectory.cleanup() failed when non-writeable or non-searchable files or directories were created inside a temporary directory. | 31 May 2019, 08:30:37 UTC |
38ab7d4 | Serhiy Storchaka | 31 May 2019, 08:29:39 UTC | bpo-31829: Make protocol 0 pickles be loadable in text mode in Python 2. (GH-11859) Escape ``\r``, ``\0`` and ``\x1a`` (end-of-file on Windows) in Unicode strings. | 31 May 2019, 08:29:39 UTC |
ba04302 | Terry Jan Reedy | 31 May 2019, 08:26:35 UTC | IDLE - Capitalize search dialogs' 'Close' button label. (#13691) It seems to be the only widget label not capitalized. | 31 May 2019, 08:26:35 UTC |
14a0e16 | Serhiy Storchaka | 31 May 2019, 07:39:47 UTC | bpo-36548: Improve the repr of re flags. (GH-12715) | 31 May 2019, 07:39:47 UTC |
65fb2c0 | Serhiy Storchaka | 31 May 2019, 07:39:15 UTC | bpo-339827: Do not swallow exceptions in the _ssl module. (GH-12756) | 31 May 2019, 07:39:15 UTC |
530f506 | Jeroen Demeyer | 31 May 2019, 02:13:39 UTC | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | 31 May 2019, 02:13:39 UTC |
4c23aff | Ivan Levkivskyi | 30 May 2019, 23:10:07 UTC | bpo-29262: Add get_origin() and get_args() introspection helpers to typing (GH-13685) This is an old feature request that appears from time to time. After a year of experimenting with various introspection capabilities in `typing_inspect` on PyPI, I propose to add these two most commonly used functions: `get_origin()` and `get_args()`. These are essentially thin public wrappers around private APIs: `__origin__` and `__args__`. As discussed in the issue and on the typing tracker, exposing some public helpers instead of `__origin__` and `__args__` directly will give us more flexibility if we will decide to update the internal representation, while still maintaining backwards compatibility. The implementation is very simple an is essentially a copy from `typing_inspect` with one exception: `ClassVar` was special-cased in `typing_inspect`, but I think this special-casing doesn't really help and only makes things more complicated. | 30 May 2019, 23:10:07 UTC |
2a58b06 | Anthony Sottile | 30 May 2019, 22:06:32 UTC | bpo-5028: Fix up rest of documentation for tokenize documenting line (GH-13686) https://bugs.python.org/issue5028 | 30 May 2019, 22:06:32 UTC |
eea47e0 | Matthias Bussonnier | 30 May 2019, 21:45:48 UTC | bpo-36953: Delay removal of ABCs from collections. (GH-13409) Bump the removal to 3.9, indicate collections.abc available since 3.3, replace version-changed directive to deprecated-removed. https://bugs.python.org/issue36953 | 30 May 2019, 21:45:48 UTC |
5437ccc | xdegaye | 30 May 2019, 21:42:29 UTC | bpo-36342: Fix test_multiprocessing in test_venv (GH-12513) when platform lacks a functioning sem_open implementation https://bugs.python.org/issue36342 | 30 May 2019, 21:42:29 UTC |
2f5b9dc | Antti Haapala | 30 May 2019, 20:19:29 UTC | bpo-30969: Fix docs about the comparison in absence of __contains__ (GH-2761) | 30 May 2019, 20:19:28 UTC |
1e36f75 | Andrew Carr | 30 May 2019, 19:31:51 UTC | bpo-5028: fix doc bug for tokenize (GH-11683) https://bugs.python.org/issue5028 | 30 May 2019, 19:31:51 UTC |
1b69c09 | Xtreak | 30 May 2019, 17:58:28 UTC | Fix audit event typo : urllib.request -> urllib.Request (GH-13550) As per the PEP and the [audit event raised](https://github.com/python/cpython/blob/13d4e6a4a090031f8214e058ed3c8fd47767e05f/Lib/urllib/request.py#L524) in urllib.request this should be `urllib.Request` cc: @zooba | 30 May 2019, 17:58:27 UTC |
98ef920 | Alex Grönholm | 30 May 2019, 15:30:09 UTC | bpo-36999: Add asyncio.Task.get_coro() (GH-13680) https://bugs.python.org/issue36999 | 30 May 2019, 15:30:09 UTC |
25ee0c3 | Brett Cannon | 30 May 2019, 14:59:01 UTC | Revert adding @maxking to CODEOWNERS file (GH-13660) This reverts commit 71dc7c5fbd856df83202f39c1f41ccd07c6eceb7. Turns out you must have write access for CODEOWNERS to work. | 30 May 2019, 14:59:01 UTC |
37788bc | Jeroen Demeyer | 30 May 2019, 13:11:22 UTC | bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653) | 30 May 2019, 13:11:22 UTC |
6d0b747 | Xtreak | 30 May 2019, 12:01:39 UTC | bpo-37099: Silence DeprecationWarning in test_inspect (GH-13679) Fix DeprecationWarning introduced in aee19f54f6fe45f6b3c906987941e5a8af4468e9 https://bugs.python.org/issue37099 | 30 May 2019, 12:01:39 UTC |
249b7d5 | Zackery Spytz | 30 May 2019, 11:08:24 UTC | bpo-20602: Do not clear sys.flags and sys.float_info during shutdown (GH-8096) There is no need to clear these immutable objects during shutdown. | 30 May 2019, 11:08:24 UTC |
c145f3b | Jeroen Demeyer | 30 May 2019, 10:43:59 UTC | bpo-36974: remove _PyObject_HasFastCall (GH-13460) | 30 May 2019, 10:43:58 UTC |
735e8af | Jeroen Demeyer | 30 May 2019, 10:43:19 UTC | bpo-36974: inherit the vectorcall protocol (GH-13498) | 30 May 2019, 10:43:19 UTC |
0f39c2b | Xtreak | 30 May 2019, 10:00:29 UTC | bpo-37015: Ensure tasks created by _accept_connection2 due to AsyncMock are completed (GH-13661) From 3.8 async functions used with mock.patch return an `AsyncMock`. `_accept_connection2` is an async function where create_task is also mocked. Don't mock `create_task` so that tasks are created out of coroutine returned by `AsyncMock` and the tasks are completed. https://bugs.python.org/issue37015 | 30 May 2019, 10:00:29 UTC |
6eb814b | Christian Heimes | 30 May 2019, 09:27:06 UTC | bpo-37098: Skip memfd_create test before Linux 3.17 (GH-13677) | 30 May 2019, 09:27:06 UTC |
eda385c | Zackery Spytz | 30 May 2019, 07:58:50 UTC | bpo-36935: Remove usage of the deprecated PyErr_SetFromWindowsErrWithUnicodeFilename() (GH-13355) In e895de3e7f3cc2f7213b87621cfe9812ea4343f0, the deprecated function PyErr_SetFromWindowsErrWithUnicodeFilename() was added in two functions in Modules/_winapi.c. This function was deprecated in 3.3. | 30 May 2019, 07:58:50 UTC |
bee31ce | Inada Naoki | 30 May 2019, 07:35:41 UTC | autoreconf (GH-13651) | 30 May 2019, 07:35:41 UTC |
413d955 | Giampaolo Rodola | 30 May 2019, 06:05:41 UTC | bpo-36610: shutil.copyfile(): use sendfile() on Linux only (GH-13675) ...and avoid using it on Solaris as it can raise EINVAL if offset is equal or bigger than the size of the file | 30 May 2019, 06:05:41 UTC |
a16387a | Ying Wang | 30 May 2019, 03:25:31 UTC | bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369) | 30 May 2019, 03:25:31 UTC |
8087831 | Anthony Sottile | 30 May 2019, 00:13:12 UTC | Don't crash if there exists an EGG-INFO directory on sys.path (#13667) * Don't crash if there exists an EGG-INFO directory on sys.path cross-port of https://gitlab.com/python-devs/importlib_metadata/merge_requests/72 * Also catch PermissionError for windows | 30 May 2019, 00:13:11 UTC |
29cb21d | Pablo Galindo | 29 May 2019, 21:59:00 UTC | Regenerate topics file (GH-13642) | 29 May 2019, 21:59:00 UTC |
8f96c9f | Zackery Spytz | 29 May 2019, 21:02:37 UTC | bpo-37007: Implement socket.if_nametoindex(), if_indextoname() and if_nameindex() on Windows (GH-13522) | 29 May 2019, 21:02:37 UTC |
fecb75c | Petr Viktorin | 29 May 2019, 20:45:41 UTC | bpo-36974: Fix GDB integration (GH-13665) As it changes the way functions are called, the PEP 590 implementation skipped the functions that the GDB integration is looking for (by name) to find function calls. Looking for the new helper `cfunction_call_varargs` hopefully fixes the tests, and thus buildbots. The changed frame nuber in test_gdb is due to there being fewer C calls when calling a built-in method. | 29 May 2019, 20:45:41 UTC |
e70bfa9 | Zackery Spytz | 29 May 2019, 20:43:50 UTC | bpo-26836: Add ifdefs for all MFD_HUGE* constants (GH-13666) https://bugs.python.org/issue26836 | 29 May 2019, 20:43:49 UTC |
ada319b | Antoine Pitrou | 29 May 2019, 20:12:38 UTC | bpo-32388: Remove cross-version binary compatibility requirement in tp_flags (GH-4944) It is now allowed to add new fields at the end of the PyTypeObject struct without having to allocate a dedicated compatibility flag in tp_flags. This will reduce the risk of running out of bits in the 32-bit tp_flags value. | 29 May 2019, 20:12:38 UTC |
43fdbd2 | Zackery Spytz | 29 May 2019, 19:57:07 UTC | bpo-26836: Add os.memfd_create() (#13567) * bpo-26836: Add os.memfd_create() * Use the glibc wrapper for memfd_create() Co-Authored-By: Christian Heimes <christian@python.org> * Fix deletions caused by autoreconf. * Use MFD_CLOEXEC as the default value for *flags*. * Add memset_s to configure.ac. * Revert memset_s changes. * Apply the requested changes. * Tweak the docs. | 29 May 2019, 19:57:03 UTC |
0c2f930 | Gregory P. Smith | 29 May 2019, 18:46:58 UTC | bpo-22385: Support output separators in hex methods. (#13578) * bpo-22385: Support output separators in hex methods. Also in binascii.hexlify aka b2a_hex. The underlying implementation behind all hex generation in CPython uses the same pystrhex.c implementation. This adds support to bytes, bytearray, and memoryview objects. The binascii module functions exist rather than being slated for deprecation because they return bytes rather than requiring an intermediate step through a str object. This change was inspired by MicroPython which supports sep in its binascii implementation (and does not yet support the .hex methods). https://bugs.python.org/issue22385 | 29 May 2019, 18:46:58 UTC |
aacc77f | Jeroen Demeyer | 29 May 2019, 18:31:52 UTC | bpo-36974: implement PEP 590 (GH-13185) Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be> Co-authored-by: Mark Shannon <mark@hotpy.org> | 29 May 2019, 18:31:52 UTC |
d30da5d | Anthony Sottile | 29 May 2019, 18:19:38 UTC | bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456) https://bugs.python.org/issue36983 | 29 May 2019, 18:19:37 UTC |
34f4f5e | Hrvoje Nikšić | 29 May 2019, 17:08:17 UTC | bpo-36794: Document that Lock.acquire is fair. (GH-13082) https://bugs.python.org/issue36794 | 29 May 2019, 17:08:17 UTC |
46ed90d | Julien Palard | 29 May 2019, 16:34:04 UTC | Doc: Add an optional obsolete header. (GH-13638) | 29 May 2019, 16:34:04 UTC |
1c99926 | Christian Heimes | 29 May 2019, 15:45:19 UTC | Add my to code owner for more areas (#13650) | 29 May 2019, 15:45:19 UTC |
9ddc416 | Steve Dower | 29 May 2019, 15:20:35 UTC | bpo-36842: Fix reference leak in tests by running out-of-proc (GH-13556) | 29 May 2019, 15:20:35 UTC |
d8b7551 | David Carlier | 29 May 2019, 10:58:11 UTC | bpo-33164: blake2 fix for HP-UX (GH-13633) | 29 May 2019, 10:58:11 UTC |
4dd3e3f | Andrew Svetlov | 29 May 2019, 09:33:59 UTC | bpo-32972: Async test case (GH-13386) Add explicit `asyncSetUp` and `asyncTearDown` methods. The rest is the same as for #13228 `AsyncTestCase` create a loop instance for every test for the sake of test isolation. Sometimes a loop shared between all tests can speed up tests execution time a lot but it requires control of closed resources after every test finish. Basically, it requires nested supervisors support that was discussed with @1st1 many times. Sorry, asyncio supervisors have no chance to land on Python 3.8. The PR intentionally does not provide API for changing the used event loop or getting the test loop: use `asyncio.set_event_loop_policy()` and `asyncio.get_event_loop()` instead. The PR adds four overridable methods to base `unittest.TestCase` class: ``` def _callSetUp(self): self.setUp() def _callTestMethod(self, method): method() def _callTearDown(self): self.tearDown() def _callCleanup(self, function, /, *args, **kwargs): function(*args, **kwargs) ``` It allows using asyncio facilities with minimal influence on the unittest code. The last but not least: the PR respects contextvars. The context variable installed by `asyncSetUp` is available on test, `tearDown` and a coroutine scheduled by `addCleanup`. https://bugs.python.org/issue32972 | 29 May 2019, 09:33:59 UTC |
7d40869 | Inada Naoki | 29 May 2019, 08:23:27 UTC | remove unnecessary tp_dealloc (GH-13647) | 29 May 2019, 08:23:27 UTC |
ca80495 | Bo Bayles | 29 May 2019, 08:06:12 UTC | bpo-22454: Add shlex.join() (the opposite of shlex.split()) (GH-7605) | 29 May 2019, 08:06:11 UTC |
f83d1db | Eric V. Smith | 29 May 2019, 07:55:44 UTC | bpo-37070: Cleanup fstring debug handling (GH-13607) * Clean up some comments, fix potential memory leaks, clarify literal and expr_text. | 29 May 2019, 07:55:44 UTC |
0ae022c | Xtreak | 29 May 2019, 07:02:26 UTC | bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13616) * Fix the implicit string concatenation in `assert_has_awaits` error message. * Use "await" instead of "call" in `assert_awaited_with` error message. https://bugs.python.org/issue37075 | 29 May 2019, 07:02:25 UTC |
744c08a | 依云 | 29 May 2019, 06:50:59 UTC | bpo-35246: fix support for path-like args in asyncio subprocess (GH-13628) Drop isinstance checks from create_subprocess_exec function and let subprocess module do them. https://bugs.python.org/issue35246 https://bugs.python.org/issue35246 | 29 May 2019, 06:50:59 UTC |
e1f95e7 | pbhd | 29 May 2019, 03:38:03 UTC | bpo-36739: Update controlflow.rst (GH-12983) in addition to global-statement also mention nonlocal-statement (in the paragraph describing access to variables which are non local to a function | 29 May 2019, 03:38:03 UTC |
8b09500 | Victor Stinner | 29 May 2019, 00:57:56 UTC | bpo-37076: _thread.start_new_thread() calls _PyErr_WriteUnraisableMsg() (GH-13617) _thread.start_new_thread() now logs uncaught exception raised by the function using sys.unraisablehook(), rather than sys.excepthook(), so the hook gets access to the function which raised the exception. | 29 May 2019, 00:57:56 UTC |
b76302d | Pablo Galindo | 28 May 2019, 23:45:32 UTC | bpo-36540: Documentation for PEP570 - Python positional only arguments (#13202) * bpo-36540: Documentation for PEP570 - Python positional only arguments * fixup! bpo-36540: Documentation for PEP570 - Python positional only arguments * Update reference for compound statements * Apply suggestions from Carol Co-Authored-By: Carol Willing <carolcode@willingconsulting.com> * Update Doc/tutorial/controlflow.rst Co-Authored-By: Carol Willing <carolcode@willingconsulting.com> * Add extra bullet point and minor edits | 28 May 2019, 23:45:32 UTC |
77f0ed7 | Guido van Rossum | 28 May 2019, 23:44:58 UTC | bpo-37072: Fix crash in PyAST_FromNodeObject() when flags is NULL (#13634) I'm confident that this fixes the reported crash. flags=NULL is treated as using the latest minor version. https://bugs.python.org/issue37072 | 28 May 2019, 23:44:58 UTC |
44bfff2 | hydrogen-mvm | 28 May 2019, 23:22:24 UTC | Fix markup and minor grammar improvements in Code_of_conduct.md (GH-13640) The old link had a > in the url which prevented the browser from jumping down to the correct section on that page. That PSF page itself has an error: There's a duplicate "the" in that paragraph that needs to be removed: "...and conform to **the the** Python Community Code of Conduct." While I was editing this file, I also fixed some grammar and bolded the 3 important keywords so that they catch the viewer's eyes. I can revert these changes if they are unwanted. Thanks. | 28 May 2019, 23:22:24 UTC |
4154069 | Dino Viehland | 28 May 2019, 23:21:17 UTC | bpo-37001: Makes symtable.symtable have parity with compile for input (#13483) * Makes symtable.symtable have parity for accepted datatypes for source code as compile() * Add NEWS blurb | 28 May 2019, 23:21:17 UTC |
ab0716e | Francisco Facioni | 28 May 2019, 23:15:11 UTC | bpo-22102: Fixes zip files with disks set to 0 (GH-5985) | 28 May 2019, 23:15:11 UTC |
33ce3f0 | MandarJKulkarni | 28 May 2019, 22:55:05 UTC | Fix comments in initconfig.h (GH-13636) | 28 May 2019, 22:55:05 UTC |
9e3c452 | Serhiy Storchaka | 28 May 2019, 19:49:35 UTC | bpo-31961: Fix support of path-like executables in subprocess. (GH-5914) | 28 May 2019, 19:49:35 UTC |
1b05aa2 | karl ding | 28 May 2019, 18:35:26 UTC | Fix typo in docs for socket.CAN_RAW_FD_FRAMES (GH-13635) There is an extra "one" in the text description for the constant socket.CAN_RAW_FD_FRAMES | 28 May 2019, 18:35:26 UTC |
382034b | Matthias Bussonnier | 28 May 2019, 17:30:35 UTC | bpo-36933: fix what's new. (GH-13627) Original Pr was reformed and news not updated. https://bugs.python.org/issue36933 | 28 May 2019, 17:30:34 UTC |
2e33ecd | Joannah Nanjekye | 28 May 2019, 16:29:04 UTC | bpo-22640: Add silent mode to py_compile.compile() (GH-12976) | 28 May 2019, 16:29:04 UTC |
3c8724f | Zackery Spytz | 28 May 2019, 15:16:33 UTC | bpo-33407: Implement Py_DEPRECATED() on MSVC (GH-8980) | 28 May 2019, 15:16:33 UTC |
17a5588 | Victor Stinner | 28 May 2019, 14:02:50 UTC | bpo-33725: multiprocessing uses spawn by default on macOS (GH-13603) On macOS, the multiprocessing module now uses the "spawn" start method by default. | 28 May 2019, 14:02:50 UTC |
a85a1d3 | Victor Stinner | 28 May 2019, 14:01:17 UTC | bpo-36829: sys.excepthook and sys.unraisablehook flush (GH-13620) sys.excepthook() and sys.unraisablehook() now explicitly flush the file (usually sys.stderr). If file.flush() fails, sys.excepthook() silently ignores the error, whereas sys.unraisablehook() logs the new exception. | 28 May 2019, 14:01:17 UTC |
51ddab8 | Julien Palard | 28 May 2019, 13:10:23 UTC | Doc: Add missing forward reference in the tutorial. (GH-13499) | 28 May 2019, 13:10:23 UTC |
05f1641 | Zackery Spytz | 28 May 2019, 12:55:29 UTC | bpo-26423: Fix possible overflow in wrap_lenfunc() (GH-13606) Fix possible overflow in wrap_lenfunc() when sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows). | 28 May 2019, 12:55:28 UTC |
0453081 | Mario Corchero | 28 May 2019, 12:53:31 UTC | bpo-32299: Return patched dict when using patch.dict as a context manager (GH-11062) | 28 May 2019, 12:53:30 UTC |
eb65e24 | Jeroen Demeyer | 28 May 2019, 12:42:53 UTC | bpo-36922: implement PEP-590 Py_TPFLAGS_METHOD_DESCRIPTOR (GH-13338) Co-authored-by: Mark Shannon <mark@hotpy.org> | 28 May 2019, 12:42:53 UTC |
0811f2d | Julien Palard | 28 May 2019, 12:04:42 UTC | Doc: Space breaking whole definition. (GH-13615) | 28 May 2019, 12:04:42 UTC |
9a7e5b1 | Inada Naoki | 28 May 2019, 12:02:52 UTC | bpo-35279: reduce default max_workers of ThreadPoolExecutor (GH-13618) | 28 May 2019, 12:02:52 UTC |
293e9f8 | Brad | 28 May 2019, 10:47:24 UTC | Remove outdated time.monotonic reference (GH-13264) Per ae58649, time.monotonic is always available, making the old note outdated. | 28 May 2019, 10:47:24 UTC |
9ea277a | Victor Stinner | 28 May 2019, 10:24:00 UTC | bpo-36900: Fix compilation on HP-UX (GH-13614) dynload_hpux.c: add #include "pycore_pystate.h" for _PyInterpreterState_GET_UNSAFE(). | 28 May 2019, 10:24:00 UTC |
bafd4b5 | Andrew Svetlov | 28 May 2019, 09:52:15 UTC | bpo-29883: Asyncio proactor udp (GH-13440) Follow-up for #1067 https://bugs.python.org/issue29883 | 28 May 2019, 09:52:15 UTC |
9ee2c26 | Julien Palard | 28 May 2019, 08:35:25 UTC | DOC: Unnecessary plural. (GH-13613) | 28 May 2019, 08:35:25 UTC |
74d7f76 | Ivan Levkivskyi | 28 May 2019, 07:40:15 UTC | bpo-37058: PEP 544: Add Protocol to typing module (GH-13585) I tried to get rid of the `_ProtocolMeta`, but unfortunately it didn'y work. My idea to return a generic alias from `@runtime_checkable` made runtime protocols unpickleable. I am not sure what is worse (a custom metaclass or having some classes unpickleable), so I decided to stick with the status quo (since there were no complains so far). So essentially this is a copy of the implementation in `typing_extensions` with two modifications: * Rename `@runtime` to `@runtime_checkable` (plus corresponding updates). * Allow protocols that extend `collections.abc.Iterable` etc. | 28 May 2019, 07:40:15 UTC |
3880f26 | Matthias Bussonnier | 28 May 2019, 07:10:59 UTC | bpo-36933: Remove sys.set_coroutine_wrapper (marked for removal in 3.8) (GH-13577) It has been documented as deprecated and to be removed in 3.8; From a comment on another thread – which I can't find ; leave get_coro_wrapper() for now, but always return `None`. https://bugs.python.org/issue36933 | 28 May 2019, 07:10:59 UTC |
436c2b0 | Xtreak | 28 May 2019, 07:07:39 UTC | bpo-36996: Handle async functions when mock.patch is used as a decorator (GH-13562) Return a coroutine while patching async functions with a decorator. Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> https://bugs.python.org/issue36996 | 28 May 2019, 07:07:38 UTC |
71dc7c5 | Abhilash Raj | 28 May 2019, 04:15:48 UTC | Add @maxking to CODEOWNERS file (GH-13599) | 28 May 2019, 04:15:48 UTC |
f0d4c64 | sbstp | 27 May 2019, 23:51:19 UTC | bpo-36686: Improve the documentation of the std* params in loop.subprocess_exec (GH-13586) https://bugs.python.org/issue36686 | 27 May 2019, 23:51:19 UTC |
a356841 | Victor Stinner | 27 May 2019, 23:44:21 UTC | bpo-37054, _pyio: Fix BytesIO and TextIOWrapper __del__() (GH-13601) Fix destructor _pyio.BytesIO and _pyio.TextIOWrapper: initialize their _buffer attribute as soon as possible (in the class body), because it's used by __del__() which calls close(). | 27 May 2019, 23:44:21 UTC |
df9b032 | Terry Jan Reedy | 27 May 2019, 23:16:46 UTC | bpo-37039: IDLE - zoomheight fixes (GH-13576) Move doc entry to match menu and refactor zoom function. A followup patch will include a blurb. | 27 May 2019, 23:16:46 UTC |
cd590a7 | Victor Stinner | 27 May 2019, 22:39:52 UTC | bpo-1230540: Add threading.excepthook() (GH-13515) Add a new threading.excepthook() function which handles uncaught Thread.run() exception. It can be overridden to control how uncaught exceptions are handled. threading.ExceptHookArgs is not documented on purpose: it should not be used directly. * threading.excepthook() and threading.ExceptHookArgs. * Add _PyErr_Display(): similar to PyErr_Display(), but accept a 'file' parameter. * Add _thread._excepthook(): C implementation of the exception hook calling _PyErr_Display(). * Add _thread._ExceptHookArgs: structseq type. * Add threading._invoke_excepthook_wrapper() which handles the gory details to ensure that everything remains alive during Python shutdown. * Add unit tests. | 27 May 2019, 22:39:52 UTC |
23b4b69 | Andrew Svetlov | 27 May 2019, 19:56:22 UTC | bpo-36889: Merge asyncio streams (GH-13251) https://bugs.python.org/issue36889 | 27 May 2019, 19:56:22 UTC |
6f6ff8a | Eric V. Smith | 27 May 2019, 19:31:52 UTC | bpo-37050: Remove expr_text from FormattedValue ast node, use Constant node instead (GH-13597) When using the "=" debug functionality of f-strings, use another Constant node (or a merged constant node) instead of adding expr_text to the FormattedValue node. | 27 May 2019, 19:31:52 UTC |
695b1dd | Antoine Pitrou | 27 May 2019, 17:57:23 UTC | bpo-32941: Fix test_madvise failure when page size >= 8kiB (GH-13596) https://bugs.python.org/issue32941 | 27 May 2019, 17:57:23 UTC |
a8e814d | Philippe Gagnon | 27 May 2019, 17:45:24 UTC | Fix a typo in SECURITY.md (GH-13568) There is a duplicated "in" in the Supported Versions text. | 27 May 2019, 17:45:24 UTC |
cc1c582 | Raymond Hettinger | 27 May 2019, 17:21:31 UTC | bpo-37051: Refine note on what objects are hashable (GH-13587) | 27 May 2019, 17:21:31 UTC |
02db696 | Zackery Spytz | 27 May 2019, 16:48:17 UTC | bpo-32941: Add madvise() for mmap objects (GH-6172) Allow mmap objects to access the madvise() system call. | 27 May 2019, 16:48:16 UTC |
331a6a5 | Victor Stinner | 27 May 2019, 14:39:22 UTC | bpo-36763: Implement the PEP 587 (GH-13592) * Add a whole new documentation page: "Python Initialization Configuration" * PyWideStringList_Append() return type is now PyStatus, instead of int * PyInterpreterState_New() now calls PyConfig_Clear() if PyConfig_InitPythonConfig() fails. * Rename files: * Python/coreconfig.c => Python/initconfig.c * Include/cpython/coreconfig.h => Include/cpython/initconfig.h * Include/internal/: pycore_coreconfig.h => pycore_initconfig.h * Rename structures * _PyCoreConfig => PyConfig * _PyPreConfig => PyPreConfig * _PyInitError => PyStatus * _PyWstrList => PyWideStringList * Rename PyConfig fields: * use_module_search_paths => module_search_paths_set * module_search_path_env => pythonpath_env * Rename PyStatus field: _func => func * PyInterpreterState: rename core_config field to config * Rename macros and functions: * _PyCoreConfig_SetArgv() => PyConfig_SetBytesArgv() * _PyCoreConfig_SetWideArgv() => PyConfig_SetArgv() * _PyCoreConfig_DecodeLocale() => PyConfig_SetBytesString() * _PyInitError_Failed() => PyStatus_Exception() * _Py_INIT_ERROR_TYPE_xxx enums => _PyStatus_TYPE_xxx * _Py_UnixMain() => Py_BytesMain() * _Py_ExitInitError() => Py_ExitStatusException() * _Py_PreInitializeFromArgs() => Py_PreInitializeFromBytesArgs() * _Py_PreInitializeFromWideArgs() => Py_PreInitializeFromArgs() * _Py_PreInitialize() => Py_PreInitialize() * _Py_RunMain() => Py_RunMain() * _Py_InitializeFromConfig() => Py_InitializeFromConfig() * _Py_INIT_XXX() => _PyStatus_XXX() * _Py_INIT_FAILED() => _PyStatus_EXCEPTION() * Rename 'err' PyStatus variables to 'status' * Convert RUN_CODE() macro to config_run_code() static inline function * Remove functions: * _Py_InitializeFromArgs() * _Py_InitializeFromWideArgs() * _PyInterpreterState_GetCoreConfig() | 27 May 2019, 14:39:22 UTC |
8cd5165 | Yury Selivanov | 27 May 2019, 13:57:20 UTC | bpo-37027: Return a proxy socket object from transp.get_extra_info('socket') (GH-13530) Return a safe to use proxy socket object from `transport.get_extra_info('socket')` https://bugs.python.org/issue37027 | 27 May 2019, 13:57:19 UTC |
674ee12 | Rémi Lapeyre | 27 May 2019, 13:43:45 UTC | bpo-35397: Remove deprecation and document urllib.parse.unwrap (GH-11481) | 27 May 2019, 13:43:45 UTC |
1f39c28 | Andrew Svetlov | 27 May 2019, 13:28:34 UTC | bpo-37035: Don't log OSError (GH-13548) https://bugs.python.org/issue37035 | 27 May 2019, 13:28:34 UTC |
ff6b2e6 | Xtreak | 27 May 2019, 12:56:23 UTC | bpo-37047: Refactor AsyncMock setup logic for autospeccing (GH-13574) Handle late binding and attribute access in unittest.mock.AsyncMock setup for autospeccing. | 27 May 2019, 12:56:23 UTC |
431b540 | Yury Selivanov | 27 May 2019, 12:45:12 UTC | bpo-32528: Make asyncio.CancelledError a BaseException. (GH-13528) This will address the common mistake many asyncio users make: an "except Exception" clause breaking Tasks cancellation. In addition to this change, we stop inheriting asyncio.TimeoutError and asyncio.InvalidStateError from their concurrent.futures.* counterparts. There's no point for these exceptions to share the inheritance chain. In 3.9 we'll focus on implementing supervisors and cancel scopes, which should allow better handling of all exceptions, including SystemExit and KeyboardInterrupt | 27 May 2019, 12:45:12 UTC |
16cefb0 | Yury Selivanov | 27 May 2019, 11:42:29 UTC | bpo-37028: asyncio REPL; activated via 'python -m asyncio'. (GH-13472) This makes it easy to play with asyncio APIs with simply using async/await in the REPL. | 27 May 2019, 11:42:29 UTC |
71c52e3 | Victor Stinner | 27 May 2019, 06:57:14 UTC | bpo-36829: Add _PyErr_WriteUnraisableMsg() (GH-13488) * sys.unraisablehook: add 'err_msg' field to UnraisableHookArgs. * Use _PyErr_WriteUnraisableMsg() in _ctypes _DictRemover_call() and gc delete_garbage(). | 27 May 2019, 06:57:14 UTC |
2f0bfd2 | Ivan Levkivskyi | 26 May 2019, 23:54:13 UTC | Add one more test for typing.Final (GH-13588) | 26 May 2019, 23:54:13 UTC |
b821868 | Raymond Hettinger | 26 May 2019, 18:27:35 UTC | bpo-36772 Allow lru_cache to be used as decorator without making a function call (GH-13048) | 26 May 2019, 18:27:35 UTC |