Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
01ee12b bpo-33569 Preserve type information with dataclasses.InitVar (GH-8927) 03 June 2019, 02:14:48 UTC
0025350 bpo-37069: tests use catch_unraisable_exception() (GH-13762) Modify test_coroutines, test_cprofile, test_generators, test_raise, test_ssl and test_yield_from to use support.catch_unraisable_exception() rather than support.captured_stderr(). test_thread: remove test_save_exception_state_on_error() which is now updated. test_unraisable_exception() checks that sys.unraisablehook() is called to handle _thread.start_new_thread() exception. test_cprofile now rely on unittest for test discovery: replace support.run_unittest() with unittest.main(). 03 June 2019, 01:51:43 UTC
13136e8 bpo-36896: Clarify that some types constructors are unstable (GH-13271) 03 June 2019, 00:43:21 UTC
1e375c6 bpo-36027: Really fix "incompatible pointer type" compiler warning (GH-13761) Apologies for the earlier hasty attempt. 03 June 2019, 00:28:29 UTC
be718c3 bpo-36974: add some assertions for PEP 590 (GH-13682) 02 June 2019, 23:57:22 UTC
9e3e06e bpo-36974: document PEP 590 (GH-13450) 02 June 2019, 23:43:13 UTC
82eac26 Update the annotated assignment docs (GH-13757) 02 June 2019, 23:41:00 UTC
3cf7ea1 bpo-37100: Fix test_coroutines with -Werror (GH-13756) test_coroutines: test_unawaited_warning_when_module_broken() now uses support.check_warnings() to catch expected RuntimeWarning. 02 June 2019, 23:35:37 UTC
7f4ae1b bpo-37012: Clean up special cases in PyType_FromSpecWithBases slot assignments (GH-13496) The main slot assignment loop is now if-else if ladder, making the control flow clearer. Based on suggestion by Victor Stinner in: https://github.com/python/cpython/pull/10304/#issuecomment-491123026 02 June 2019, 23:31:12 UTC
0d70227 Fix typos in docs and docstrings (GH-13745) 02 June 2019, 23:12:33 UTC
e584cbf bpo-36027 bpo-36974: Fix "incompatible pointer type" compiler warnings (GH-13758) 02 June 2019, 23:08:14 UTC
c6789d6 bpo-35621: Fix tests when SafeChildWatcher is expected instead of ThreadedChildWatcher (GH-13754) https://bugs.python.org/issue35621 02 June 2019, 22:45:54 UTC
fb9423f bpo-36974: Make tp_call=PyVectorcall_Call work for inherited types (GH-13699) When inheriting a heap subclass from a vectorcall class that sets `.tp_call=PyVectorcall_Call` (as recommended in PEP 590), the subclass does not inherit `_Py_TPFLAGS_HAVE_VECTORCALL`, and thus `PyVectorcall_Call` does not work for it. This attempts to solve the issue by: * always inheriting `tp_vectorcall_offset` unless `tp_call` is overridden in the subclass * inheriting _Py_TPFLAGS_HAVE_VECTORCALL for static types, unless `tp_call` is overridden * making `PyVectorcall_Call` ignore `_Py_TPFLAGS_HAVE_VECTORCALL` This means it'll be ever more important to only call `PyVectorcall_Call` on classes that support vectorcall. In `PyVectorcall_Call`'s intended role as `tp_call` filler, that's not a problem. 02 June 2019, 21:52:20 UTC
e1179a5 bpo-19184: Update the documentation of dis module. (GH-13652) * bpo-19184: Update the documentation of dis module * Explain the behavior of the number of arguments of RAISE_VARGARGS opcode. * bpo-19184: Update blurb. * bpo-19184: Fix typo in the dis Documentation. * bpo-19184: Address review comments and improve the doc * bpo-19184: Remove news file. 02 June 2019, 21:34:12 UTC
64e2c64 test_gdb.test_pycfunction: test more calling conventions (GH-13668) As the code paths for various METH_* conventions are diverging due to optimizations, we should check they continue to be covered by GDB integration. 02 June 2019, 21:11:24 UTC
cdce057 bpo-36829: test_threading: Fix a ref cycle (GH-13752) 02 June 2019, 21:08:41 UTC
aca273e bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545) * bpo-37014: Update docstring and Documentation of fileinput.FileInput() * Explain the behavior of fileinput.FileInput() when reading stdin. * Update blurb. * bpo-37014: Fix typo in the docstring and documentation. 02 June 2019, 21:01:49 UTC
3caf4de Call PyObject_GC_UnTrack in structseq dealloc (GH-13751) 02 June 2019, 20:52:49 UTC
c0295db bpo-37124: Fix reference leak in test_msilib (GH-13750) 02 June 2019, 20:36:21 UTC
6bdc4de bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307) Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant. 02 June 2019, 18:56:47 UTC
5df4025 Add description to the command line help of the argument clinic (GH-8518) 02 June 2019, 16:58:10 UTC
7ffcf84 bpo-37126: Allow structseq objects to be tracked by the GC (GH-13729) 02 June 2019, 14:45:13 UTC
13ed079 bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread (#13630) 02 June 2019, 10:56:38 UTC
c529967 bpo-36027: Extend three-argument pow to negative second argument (GH-13266) 02 June 2019, 09:24:06 UTC
5ae299a bpo-37128: Add math.perm(). (GH-13731) 02 June 2019, 08:16:49 UTC
d71f317 Add more tests for preserving identity in marshal. (GH-13736) 02 June 2019, 06:03:59 UTC
b7daabd Improve version added references in `typing` module docs (GH-13457) 02 June 2019, 00:13:25 UTC
b7fade4 Put math.comb() docs is correct place alphabetically (GH-13734) 01 June 2019, 22:01:46 UTC
6a150bc bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714) 01 June 2019, 21:39:46 UTC
218e47b bpo-29414: Change 'the for statement is such an iterator' in Tutorial (GH-273) 01 June 2019, 21:11:47 UTC
36dcaab Fix the error handling in bytesio_sizeof(). (GH-10459) bytesio_sizeof() must check if an error has occurred in _PySys_GetSizeOf(). 01 June 2019, 21:07:45 UTC
bdbad71 bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) 01 June 2019, 21:05:48 UTC
1a4d9ff bpo-32411: IDLE: Remove line number sort in browser.py (#5011) Insertion in line order makes sorting keys by line order unneeded. 01 June 2019, 21:03:22 UTC
e5f6207 bpo-34303: Micro-optimizations in functools.reduce() (GH-8598) 01 June 2019, 20:32:17 UTC
3b57f50 bpo-36842: Pass positional only parameters to code_new audit hook (GH-13707) 01 June 2019, 20:18:48 UTC
938d9a0 Fix compiler warnings in the pystrehex module (GH-13730) 01 June 2019, 20:02:08 UTC
faa2948 Clean up and reduce visual clutter in the makeunicode.py script. (GH-7558) 01 June 2019, 19:49:03 UTC
56624a9 bpo-28595: Allow shlex whitespace_split with punctuation_chars (GH-2071) 01 June 2019, 19:09:22 UTC
2b843ac bpo-35431: Refactor math.comb() implementation. (GH-13725) * Fixed some bugs. * Added support for index-likes objects. * Improved error messages. * Cleaned up and optimized the code. * Added more tests. 01 June 2019, 19:09:02 UTC
9843bc1 Improve exception message for str.format (GH-12675) 01 June 2019, 17:14:00 UTC
cd74e66 bpo-37122: Make co->co_argcount represent the total number of positonal arguments in the code object (GH-13726) 01 June 2019, 17:08:04 UTC
059b9ea bpo-31968: Documentation -- add clarification on the globals dict for exec() (GH-13140) 01 June 2019, 15:51:58 UTC
6650105 Doc: Correct the creation year and the credits of the Logo Programming language (GH-13520) 01 June 2019, 11:41:33 UTC
a0adffb Move whats-new entry for math.factorial to the math module section. (GH-13723) 01 June 2019, 11:21:53 UTC
6b282e1 bpo-36813: Fix QueueListener to call task_done() upon termination. (GH-13113) Fixed QueueListener in order to avoid random deadlocks. Unable to add regression tests atm due to time constraints, will add it in a bit. Regarding implementation, although it's nested, it does not cause performance issues whatsoever, and does not call task_done() in case of an exception (which is the right thing to do IMHO). https://bugs.python.org/issue36813 01 June 2019, 09:19:09 UTC
70c5f2a Use more PEP 570 syntax in the documentation. (GH-13720) 01 June 2019, 08:38:24 UTC
2085bd0 bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 01 June 2019, 08:00:15 UTC
4a68650 bpo-35431: Implemented math.comb (GH-11414) 01 June 2019, 07:21:27 UTC
5ac0b98 bpo-18911: clarify that the minidom XML writer receives texts but not bytes (GH-13352) 01 June 2019, 06:33:16 UTC
354227a Add option to trace to run modules (GH-5134) Adds a new option in trace that allows tracing runnable modules. It is exposed as `--module module_name` as `-m` is already in use for another argument. 01 June 2019, 04:49:09 UTC
664fe39 bpo-29984: Improve 'heapq' test coverage (GH-992) 01 June 2019, 04:13:57 UTC
5c22476 Improve docstring of list.sort (GH-8516) 01 June 2019, 04:10:02 UTC
396e0a8 bpo-36818: Add PyInterpreterState.runtime field. (gh-13129) https://bugs.python.org/issue36818 01 June 2019, 03:16:47 UTC
1c263e3 bpo-37029: keep usable_arenas in sorted order without searching (#13612) This adds a vector of "search fingers" so that usable_arenas can be kept in sorted order (by number of free pools) via constant-time operations instead of linear search. This should reduce worst-case time for reclaiming a great many objects from O(A**2) to O(A), where A is the number of arenas. See bpo-37029. 01 June 2019, 02:16:04 UTC
549e55a bpo-12202: Properly check MsiSummaryInfoGetProperty() calls in msilib (GH-13711) 01 June 2019, 00:16:20 UTC
ed9f356 bpo-37105: Add deprecated-remove information on stream doc (#13672) * Add deprecated-remove information on stream doc According to the code on streams.py the functions: ``open_connection()``, ``start_server()``, ``open_unix_connection()``, ``start_unix_server()`` are deprecated. I infor that on documentation. 31 May 2019, 20:48:57 UTC
a747c3a bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354) 31 May 2019, 20:18:41 UTC
a6ec1ce bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278) 31 May 2019, 19:44:00 UTC
aac4d03 bpo-26826: Expose copy_file_range in the os module (GH-7255) 31 May 2019, 18:39:47 UTC
545a3b8 Document changes for PyCode_New regarding PEP570 (GH-13706) 31 May 2019, 18:33:41 UTC
c8d5bf6 bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688) msilib.Directory.start_component() was passing an extra argument to CAB.gen_id(). 31 May 2019, 16:43:13 UTC
4612671 bpo-25735: math.factorial doc should mention integer return type (GH-6420) 31 May 2019, 16:41:17 UTC
8cbb5b6 bpo-26835: Add file sealing constants to fcntl (GH-13694) Co-authored-by: nanjekyejoannah <nanjekyejoannah@gmail.com> 31 May 2019, 16:32:33 UTC
ffed76b bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645) Also includes other minor test skipping doc improvements. https://bugs.python.org/issue37094 31 May 2019, 16:19:11 UTC
a0c01bf bpo-37115: Support annotations in positional-only arguments (GH-13698) 31 May 2019, 14:19:50 UTC
2f58a84 bpo-37112: Allow compile to work on AST with positional only arguments with defaults (GH-13697) 31 May 2019, 13:09:49 UTC
ed222a7 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 bpo-37108: Support super with methods that use positional-only arguments (GH-13695) 31 May 2019, 11:07:56 UTC
c7f803b 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 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 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 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 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 bpo-36548: Improve the repr of re flags. (GH-12715) 31 May 2019, 07:39:47 UTC
65fb2c0 bpo-339827: Do not swallow exceptions in the _ssl module. (GH-12756) 31 May 2019, 07:39:15 UTC
530f506 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 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 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 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 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 bpo-30969: Fix docs about the comparison in absence of __contains__ (GH-2761) 30 May 2019, 20:19:28 UTC
1e36f75 bpo-5028: fix doc bug for tokenize (GH-11683) https://bugs.python.org/issue5028 30 May 2019, 19:31:51 UTC
1b69c09 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 bpo-36999: Add asyncio.Task.get_coro() (GH-13680) https://bugs.python.org/issue36999 30 May 2019, 15:30:09 UTC
25ee0c3 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 bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653) 30 May 2019, 13:11:22 UTC
6d0b747 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 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 bpo-36974: remove _PyObject_HasFastCall (GH-13460) 30 May 2019, 10:43:58 UTC
735e8af bpo-36974: inherit the vectorcall protocol (GH-13498) 30 May 2019, 10:43:19 UTC
0f39c2b 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 bpo-37098: Skip memfd_create test before Linux 3.17 (GH-13677) 30 May 2019, 09:27:06 UTC
eda385c 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 autoreconf (GH-13651) 30 May 2019, 07:35:41 UTC
413d955 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 bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369) 30 May 2019, 03:25:31 UTC
8087831 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 Regenerate topics file (GH-13642) 29 May 2019, 21:59:00 UTC
8f96c9f bpo-37007: Implement socket.if_nametoindex(), if_indextoname() and if_nameindex() on Windows (GH-13522) 29 May 2019, 21:02:37 UTC
fecb75c 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
back to top