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

sort by:
Revision Author Date Message Commit Date
65444cf bpo-38526: Fix zipfile.Path method name to be the correct one (#17317) 21 November 2019, 21:23:13 UTC
0aca3a3 bpo-37838: get_type_hints for wrapped functions with forward reference (GH-17126) https://bugs.python.org/issue37838 21 November 2019, 17:24:58 UTC
82f897b Correct release version to 3.9 for RERAISE and WITH_EXCEPT_START bytecodes. (#17318) bpo-33387 Corrects commit fee5526 21 November 2019, 14:47:49 UTC
3ab479a bpo-38692: Skip test_posix.test_pidfd_open() on EPERM (GH-17290) Skip the test_posix.test_pidfd_open() test if os.pidfd_open() fails with a PermissionError. This situation can happen in a Linux sandbox using a syscall whitelist which doesn't allow the pidfd_open() syscall yet (like systemd-nspawn). 21 November 2019, 11:54:54 UTC
0127bb1 bpo-38875: test_capi: trashcan tests require cpu resource (GH-17314) test_capi: trashcan tests now require the test "cpu" resource. 21 November 2019, 11:54:02 UTC
5c534da CODEOWNERS: add myself for asyncore/chat, ftplib and shutil modules (#17313) 21 November 2019, 09:38:51 UTC
fee5526 Produce cleaner bytecode for 'with' and 'async with' by generating separate code for normal and exceptional paths. (#6641) Remove BEGIN_FINALLY, END_FINALLY, CALL_FINALLY and POP_FINALLY bytecodes. Implement finally blocks by code duplication. Reimplement frame.lineno setter using line numbers rather than bytecode offsets. 21 November 2019, 09:11:43 UTC
5dcc06f bpo-38858: Allocate small integers on the heap (GH-17301) Allocate small Python integers (small_ints of longobject.c) on the heap, rather than using static objects. 21 November 2019, 07:51:59 UTC
d672791 Update functions.rst (GH-16468) This PR will make the following changes to the [_Built-in Functions_](https://docs.python.org/3/library/functions.html) chapter of the library documentation: - improve hyperlinks in Sphinx roles (trailing 's' belong to hyperlinks). Automerge-Triggered-By: @csabella 21 November 2019, 02:10:19 UTC
9391f6c bpo-36277: Add document for pdb debug and retval commands (GH-12872) https://bugs.python.org/issue36277 Automerge-Triggered-By: @csabella 21 November 2019, 01:49:15 UTC
6db2fb7 Removed capital letter in parameter in stdtypes.rst (GH-17218) Automerge-Triggered-By: @csabella 21 November 2019, 01:30:05 UTC
06ca2a2 Fixed an incorrect sentence in the docs (GH-17205) Fixed an incorrect sentence in Doc/c-api/mapping.rst I fell on while translating the file. skip issue Automerge-Triggered-By: @csabella 21 November 2019, 01:19:00 UTC
046442d bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH-17269) 21 November 2019, 00:27:51 UTC
e5d1f73 bpo-38823: Clean up _xxtestfuzz initialization. (GH-17216) https://bugs.python.org/issue38823 21 November 2019, 00:17:02 UTC
559bad1 bpo-38841: Skip asyncio test_create_datagram_endpoint_existing_sock_unix (GH-17294) on platforms lacking a functional bind() for named unix domain sockets https://bugs.python.org/issue38841 Automerge-Triggered-By: @asvetlov 20 November 2019, 20:02:07 UTC
b93f31f bpo-38858: Fix Py_Finalize() when called from a subinterpreter (GH-17297) Use _Py_IsMainInterpreter() in Py_Initialize() and Py_Finalize() to detect if the current interpreter is the main interpreter or not. 20 November 2019, 17:39:12 UTC
de148f2 bpo-33125: Add support for building and releasing Windows ARM64 packages (GH-16828) Note that the support is not actually enabled yet, and so we won't be publishing these packages. However, for those who want to build it themselves (even by reusing the Azure Pipelines definition), it's now relatively easy to enable. 20 November 2019, 17:30:47 UTC
abce2d9 Add Python 3.8 to py based search in find_python.bat (GH-17188) 20 November 2019, 17:25:45 UTC
fff7bbf bpo-38858: Add _Py_IsMainInterpreter(tstate) (GH-17293) 20 November 2019, 16:34:39 UTC
db7925a Update information about publishing a new version to the Microsoft Store (GH-17262) 20 November 2019, 16:21:14 UTC
be5c79e bpo-38821: Fix crash in argparse when using gettext (GH-17192) 20 November 2019, 13:29:29 UTC
4dedd0f bpo-37340: Remove PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() (GH-17284) Remove PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() functions: the free lists of bound method objects have been removed. Remove also _PyMethod_Fini() and _PyCFunction_Fini() functions. 20 November 2019, 11:59:12 UTC
7247407 bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287) * Rename _PyGC_InitializeRuntime() to _PyGC_InitState() * finalize_interp_clear() now also calls _PyGC_Fini() in subinterpreters (clear the GC state). 20 November 2019, 11:25:50 UTC
488d02a bpo-38835: Exclude PyFPE macros from the stable API (GH-17228) Exclude PyFPE_START_PROTECT() and PyFPE_END_PROTECT() macros of pyfpe.h from Py_LIMITED_API (stable API). 20 November 2019, 11:17:09 UTC
e7e699e bpo-38858: Fix reference leak in pycore_init_types() (GH-17286) Only call _PyGC_Init(), _PyExc_Init() and _PyErr_Init() in new_interpreter(). 20 November 2019, 11:08:13 UTC
67e0de6 bpo-36854: gcmodule.c gets its state from tstate (GH-17285) * Add GCState type for readability * gcmodule.c now gets its gcstate from tstate * _PyGC_DumpShutdownStats() now expects tstate rather than runtime * Rename "state" to "gcstate" for readability: to avoid confusion between "state" and "tstate" for example. * collect() now only expects tstate: it gets gcstate from tstate. * Pass tstate to _PyErr_xxx() functions 20 November 2019, 10:48:18 UTC
9da7430 bpo-36854: Clear the current thread later (GH-17279) Clear the current thread later in the Python finalization. * The PyInterpreterState_Delete() function is now responsible to call PyThreadState_Swap(NULL). * The tstate_delete_common() function is now responsible to clear the "autoTSSKey" thread local storage and it only clears it once the thread state is fully cleared. It allows to still get the current thread from TSS in tstate_delete_common(). 20 November 2019, 10:17:17 UTC
d51a363 bpo-38823: Fix refleak in _tracemalloc init error handling (GH-17235) 20 November 2019, 10:00:31 UTC
7eee5be bpo-38858: Factorize Py_EndInterpreter() code (GH-17273) * Factorize code in common between Py_FinalizeEx() and Py_EndInterpreter(). * Py_EndInterpreter() now also calls _PyWarnings_Fini(). * Call _PyExc_Fini() and _PyGC_Fini() later in the finalization. 20 November 2019, 09:38:34 UTC
b846247 bpo-38636: Fix IDLE tab toggle and file indent width (GH-17008) These Format menu functions (default shortcuts Alt-T and Alt-U) were mistakenly disabled in 3.7.5 and 3.8.0. 20 November 2019, 06:18:39 UTC
7483451 closes bpo-38712: Add signal.pidfd_send_signal. (GH-17070) This exposes a Linux-specific syscall for sending a signal to a process identified by a file descriptor rather than a pid. For simplicity, we don't support the siginfo_t parameter to the syscall. This parameter allows implementing a pidfd version of rt_sigqueueinfo(2), which Python also doesn't support. 20 November 2019, 04:39:14 UTC
be143ec bpo-38835: Don't use PyFPE_START_PROTECT and PyFPE_END_PROTECT (GH-17231) The PyFPE_START_PROTECT() and PyFPE_END_PROTECT() macros are empty: they have been doing nothing for the last year (since commit 735ae8d139a673b30b321dc10acfd3d14f0d633b), so stop using them. 20 November 2019, 01:51:30 UTC
01b1cc1 bpo-36710: Add PyInterpreterState.runtime field (GH-17270) Add PyInterpreterState.runtime field: reference to the _PyRuntime global variable. This field exists to not have to pass runtime in addition to tstate to a function. Get runtime from tstate: tstate->interp->runtime. Remove "_PyRuntimeState *runtime" parameter from functions already taking a "PyThreadState *tstate" parameter. _PyGC_Init() first parameter becomes "PyThreadState *tstate". 20 November 2019, 01:27:56 UTC
eb1cbbf Post 3.9.0a1 20 November 2019, 01:06:33 UTC
1c5a71a Merge tag 'v3.9.0a1' 20 November 2019, 01:05:28 UTC
33b671e bpo-38823: Fix refleak in marshal init error path (GH-17260) 20 November 2019, 00:59:32 UTC
2e96906 bpo-36710: Pass tstate parameter to GC collect() (GH-17267) Pass tstate parameter (PyThreadState) to GC collect() function and other GC subfunctions. 20 November 2019, 00:49:32 UTC
279d8df bpo-38753: AsyncMock added in version 3.8 (GH-17102) 20 November 2019, 00:30:43 UTC
444b39b bpo-38631: Avoid Py_FatalError() in handle_legacy_finalizers() (GH-17266) * Rename _PyGC_Initialize() to _PyGC_InitializeRuntime() * Add _PyGC_Init(): initialize _PyRuntime.gc.garbage list * Call _PyGC_Init() before _PyTypes_Init() 20 November 2019, 00:18:11 UTC
e0cd8aa bpo-37957: Allow regrtest to receive a file with test (and subtests) to ignore (GH-16989) When building Python in some uncommon platforms there are some known tests that will fail. Right now, the test suite has the ability to ignore entire tests using the -x option and to receive a filter file using the --matchfile filter. The problem with the --matchfile option is that it receives a file with patterns to accept and when you want to ignore a couple of tests and subtests, is too cumbersome to lists ALL tests that are not the ones that you want to accept and he problem with -x is that is not easy to ignore just a subtests that fail and the whole test needs to be ignored. For these reasons, add a new option to allow to ignore a list of test and subtests for these situations. 19 November 2019, 23:46:49 UTC
ef5aa9a bpo-38858: Reorganize pycore_init_types() (GH-17265) * Call _PyLong_Init() and _PyExc_Init() earlier * new_interpreter() reuses pycore_init_types() 19 November 2019, 23:38:03 UTC
ac22354 bpo-38823: Fix refleaks in faulthandler init error path on Windows (GH-17250) 19 November 2019, 23:13:05 UTC
293dd23 Remove binding of captured exceptions when not used to reduce the chances of creating cycles (GH-17246) Capturing exceptions into names can lead to reference cycles though the __traceback__ attribute of the exceptions in some obscure cases that have been reported previously and fixed individually. As these variables are not used anyway, we can remove the binding to reduce the chances of creating reference cycles. See for example GH-13135 19 November 2019, 21:34:03 UTC
c6b20be bpo-38707: Fix for multiprocessing.Process MainThread.native_id (GH-17088) This PR implements a fix for `multiprocessing.Process` objects; the error occurs when Processes are created using either `fork` or `forkserver` as the `start_method`. In these instances, the `MainThread` of the newly created `Process` object retains all attributes from its parent's `MainThread` object, including the `native_id` attribute. The resulting behavior is such that the new process' `MainThread` captures an incorrect/outdated `native_id` (the parent's instead of its own). This change forces the Process object to update its `native_id` attribute during the bootstrap process. cc @vstinner https://bugs.python.org/issue38707 Automerge-Triggered-By: @pitrou 19 November 2019, 19:50:12 UTC
892221b bpo-38839: Fix some unused functions in tests (GH-17189) 19 November 2019, 19:45:20 UTC
54b32c9 bpo-38823: Clean up refleak in fcntl module initialization. (GH-17236) 19 November 2019, 19:16:29 UTC
8e0de2a bpo-35409: Ignore GeneratorExit in async_gen_athrow_throw (GH-14755) Ignore `GeneratorExit` exceptions when throwing an exception into the `aclose` coroutine of an asynchronous generator. https://bugs.python.org/issue35409 19 November 2019, 13:53:52 UTC
f25875a Added missing coma after end of list in subprocess.rst (GH-17217) Automerge-Triggered-By: @csabella 19 November 2019, 12:14:53 UTC
b1f160a Add missing comma and period in unittest docs (GH-17211) Automerge-Triggered-By: @csabella 19 November 2019, 12:05:45 UTC
fd75708 Python 3.9.0a1 19 November 2019, 11:17:21 UTC
24555ce bpo-21767: explicitly mention abc support in functools.singledispatch docs (#17171) 19 November 2019, 08:16:46 UTC
9960230 bpo-22367: Update test_fcntl.py for spawn process mode (#17154) 19 November 2019, 08:12:42 UTC
79e18ec Clean up module initialization. (GH-17215) 19 November 2019, 07:16:23 UTC
fe75b62 bpo-38807: Add os.PathLike to exception message raised by _check_arg_types (#17160) 19 November 2019, 05:54:00 UTC
02b8051 Add @pablogsal to code owners file for the garbage collector (GH-17248) Add myself to the codeowners file as I would like to be automatically added as a reviewer for PRs that touch that component and its documentation. 19 November 2019, 02:03:55 UTC
b028f58 Minor fixes to the formatting of the notes of Modules/gcmodule.c (GH-17247) 19 November 2019, 01:36:57 UTC
dcf1f83 bpo-38622: Ensure ctypes.PyObj_FromPtr audit event passes tuples as a single argument (GH-17243) 18 November 2019, 21:30:01 UTC
00923c6 bpo-38622: Add missing audit events for ctypes module (GH-17158) 18 November 2019, 19:32:46 UTC
476e76f Revert "remove a strange non-ASCII character in _iomodule.c" (GH-17240) This reverts commit bcc1cc5c, which removed an intentionally placed "form feed" character. 18 November 2019, 19:19:51 UTC
e243bae bpo-38722: Runpy use io.open_code() (GH-17234) https://bugs.python.org/issue38722 Automerge-Triggered-By: @taleinat 18 November 2019, 19:11:13 UTC
bcc1cc5 remove a strange non-ASCII character in _iomodule.c (GH-17239) 18 November 2019, 18:39:47 UTC
ee703cb bpo-38809: Windows build scripts use python.exe from virtual envs (GH-17164) https://bugs.python.org/issue38809 18 November 2019, 17:32:25 UTC
bc7d3aa bpo-38631: Avoid Py_FatalError() in _multibytecodec init (GH-17233) If an exception is raised and PyInit__multibytecodec() returns NULL, Python reports properly the exception to the user. There is no need to crash Python with Py_FatalError(). 18 November 2019, 16:40:07 UTC
04394df bpo-38631: Avoid Py_FatalError() in float.__getformat__() (GH-17232) Replace Py_FatalError() with a regular RuntimeError exception in float.__getformat__(). 18 November 2019, 16:39:48 UTC
f49f6ba Correct the description of the 3.7 change in urllib.parse.quote (GH-17065) `~` is now treated as an unreserved character (i.e. it doesn't get quoted), not a reserved one. 18 November 2019, 15:30:53 UTC
289cf0f bpo-38823: Clean up refleaks in _tkinter initialization. (GH-17206) https://bugs.python.org/issue38823 18 November 2019, 14:52:36 UTC
5383956 bpo-38830: Correct slot signature in Qt example. (GH-17220) 18 November 2019, 12:03:22 UTC
59c8088 Revert "bpo-38811: Check for presence of os.link method in pathlib. (GH-17170)" (#17219) This reverts commit 111772fc27cfe388bc060f019d68a3e33481ec65. 18 November 2019, 11:26:37 UTC
04c79d6 bpo-38678: Improve argparse example in tutorial (GH-17207) 18 November 2019, 06:06:19 UTC
4544e78 bpo-25866: Minor cleanups to "sequence" in docs (GH-17177) 17 November 2019, 22:00:43 UTC
2bc3434 bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766) Return None instead of 1. 17 November 2019, 17:10:13 UTC
111772f bpo-38811: Check for presence of os.link method in pathlib. (GH-17170) Fix also the Path.symplink() method implementation for the case when symlinks are not supported. 17 November 2019, 17:06:38 UTC
645005e bpo-38724: Implement subprocess.Popen.__repr__ (GH-17151) 17 November 2019, 14:08:31 UTC
143a97f bpo-38823: Clean up refleaks in _contextvars initialization. (GH-17198) https://bugs.python.org/issue38823 16 November 2019, 23:57:32 UTC
c3f6bdc bpo-38823: Clean up refleaks in _asyncio initialization. (GH-17195) https://bugs.python.org/issue38823 16 November 2019, 22:26:54 UTC
d0acdfc Fix typo in Lib/socketserver.py (GH-17024) changed 'This is bad class design, but save some typing' into 'This is bad class design, but saves some typing'. 16 November 2019, 18:14:45 UTC
a065232 bpo-28286: Deprecate opening GzipFile for writing implicitly. (GH-16417) Always specify the mode argument for writing. 16 November 2019, 16:56:57 UTC
bd44a7e bpo-38650: Constify PyStructSequence_UnnamedField. (GH-17005) Make it a constant and referring to a constant string. 16 November 2019, 16:55:29 UTC
5fd5cb8 bpo-38639: Optimize floor(), ceil() and trunc() for floats. (GH-16991) 16 November 2019, 16:00:57 UTC
51edf8a bpo-38644: Cleanup ceval.h (GH-17185) Move CPython API (Py_LIMITED_API macro not defined) from ceval.h to cpython/ceval.h 16 November 2019, 00:04:44 UTC
7c6130c bpo-38453: Ensure correct short path is obtained for test (GH-17184) 16 November 2019, 00:04:00 UTC
b5e170f bpo-38644: Add _PyEval_EvalCode() (GH-17183) _PyFunction_Vectorcall() now pass tstate to function calls. 16 November 2019, 00:03:22 UTC
0fe0b88 Updated missing periods in cmdline.rst (GH-17173) 15 November 2019, 22:18:17 UTC
84f2528 Fix the description of isdatadescriptor in inspect.rst (#16645) 15 November 2019, 21:47:26 UTC
73cdb0c bpo-38816: Add notes in the C-API docs about fork in subinterpreters. (GH-17176) The C-API docs are a bit sparse on the interplay between C `fork()` and the CPython runtime. This change adds some more information on the subject. https://bugs.python.org/issue38816 15 November 2019, 21:28:54 UTC
abde52c bpo-38453: Ensure ntpath.realpath correctly resolves relative paths (GH-16967) Ensure isabs() is always True for \\?\ prefixed paths Avoid unnecessary usage of readlink() to avoid resolving broken links incorrectly Ensure shutil tests run in test directory 15 November 2019, 17:49:21 UTC
b220300 bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123) Small docs update for [bpo-34651](https://bugs.python.org/issue34651). Other references to fork (e.g. the PyOS.*Fork functions or discussions of fork() when embedding Python) point back to os.fork, so I don't think any other updates are needed. https://bugs.python.org/issue38778 Automerge-Triggered-By: @ericsnowcurrently 15 November 2019, 16:56:03 UTC
e8acc86 bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162) 15 November 2019, 09:03:46 UTC
b44ffc8 bpo-38677: Fix arraymodule error handling in module initialization. (GH-17039) 15 November 2019, 08:42:51 UTC
57d3ab8 Add .pytest_cache to .gitignore (GH-16595) 15 November 2019, 08:22:41 UTC
3f8cebd bpo-38692: Add asyncio.PidfdChildWatcher to __all__ (GH-17161) /cc @asvetlov @1st1 https://bugs.python.org/issue38692 Automerge-Triggered-By: @benjaminp 15 November 2019, 02:47:56 UTC
4d231bc bpo-38644: Add _PyObject_Call() (GH-17089) * Add pycore_call.h internal header file. * Add _PyObject_Call(): PyObject_Call() with tstate * Add _PyObject_CallNoArgTstate(): _PyObject_CallNoArg() with tstate * Add _PyObject_FastCallDictTstate(): _PyObject_FastCallDict() with tstate * _PyObject_Call_Prepend() now takes tstate * Replace _PyObject_FastCall() calls with _PyObject_VectorcallTstate() calls 14 November 2019, 12:36:21 UTC
b9e6812 bpo-38644: Add _PyEval_EvalFrame() with tstate (GH-17131) Add _PyEval_EvalFrame() static inline function to get eval_frame from tstate->interp. 14 November 2019, 11:20:46 UTC
3ccdd9b closes bpo-38692: Add a pidfd child process watcher to asyncio. (GH-17069) 14 November 2019, 03:08:50 UTC
dad6be5 bpo-38785: Prevent asyncio from crashing (GH-17144) if parent `__init__` is not called from a constructor of object derived from `asyncio.Future` https://bugs.python.org/issue38785 13 November 2019, 21:36:46 UTC
61289d4 bpo-38786: Add parsing of https links to pydoc (GH-17143) 13 November 2019, 16:13:52 UTC
d89cea1 bpo-38781: Clear buffer in MemoryHandler flush (GH-17132) This makes it easier to use a custom buffer when subclassing MemoryHandler (by avoiding the explicity empty list literal assignment in the flush method). For example, collection.deque can now be used without any modifications to MemoryHandler.flush. The same applies to BufferingHandler. 13 November 2019, 09:03:45 UTC
9c28449 bpo-4630: Add cursor no-blink option for IDLE (GH-16960) This immediately toggles shell, editor, and output windows, but does not affect other input widgets. 13 November 2019, 07:13:33 UTC
2d56af7 Fix minor typos. (GH-17095) 13 November 2019, 03:12:11 UTC
d6d6e2a Add Ilya Kulakov to Misc/ACKS. (GH-17130) Contributions on bpo-26467 and bpo-29302. 13 November 2019, 02:33:04 UTC
back to top