0b72b23 | Victor Stinner | 12 March 2020, 22:18:39 UTC | bpo-38500: Add _PyInterpreterState_SetEvalFrameFunc() (GH-17340) PyInterpreterState.eval_frame function now requires a tstate (Python thread state) parameter. Add private functions to the C API to get and set the frame evaluation function: * Add tstate parameter to _PyFrameEvalFunction function type. * Add _PyInterpreterState_GetEvalFrameFunc() and _PyInterpreterState_SetEvalFrameFunc() functions. * Add tstate parameter to _PyEval_EvalFrameDefault(). | 12 March 2020, 22:18:39 UTC |
c846ef0 | Victor Stinner | 12 March 2020, 22:15:34 UTC | bpo-39936: _aix_support uses _bootsubprocess (GH-18970) AIX: Fix _aix_support module when the subprocess is not available, when building Python from scratch. It now uses new private _bootsubprocess module, rather than having two implementations depending if subprocess is available or not. So _aix_support.aix_platform() result is now the same if subprocess is available or not. | 12 March 2020, 22:15:34 UTC |
1ae9cde | Stefan Krah | 12 March 2020, 18:35:38 UTC | bpo-39689: Do not test undefined casts to _Bool (GH-18964) - When casting to _Bool, arrays should only contain zeros or ones. | 12 March 2020, 18:35:38 UTC |
fdcd53f | Daniel Hahler | 12 March 2020, 17:09:30 UTC | Doc: Fix grammar in PyErr_ResourceWarning (GH-18879) | 12 March 2020, 17:09:30 UTC |
3c29675 | Raúl Cumplido | 12 March 2020, 14:38:19 UTC | bpo-1294959: Fix typo for new attribute platlibdir. (GH-18960) Received email on the docs mailing list to fix a typo from `sys.platlitdir` which doesn't exist to the correct new attribute `sys.platlibdir` Automerge-Triggered-By: @vstinner | 12 March 2020, 14:38:19 UTC |
75cd5bf | Andy Lester | 12 March 2020, 07:49:05 UTC | Remove unused args from two pylifecycle.c functions (GH-18867) * Remove unused tstate argument from init_set_builtins_open() * Replace fd (int) with tstate (PyThreadState *) in in _Py_FatalError_PrintExc() | 12 March 2020, 07:49:05 UTC |
c7d2d69 | Victor Stinner | 12 March 2020, 07:38:11 UTC | bpo-39884: Add method name in "bad call flags" error (GH-18944) PyDescr_NewMethod() and PyCFunction_NewEx() now include the method name in the SystemError "bad call flags" error message to ease debug. | 12 March 2020, 07:38:11 UTC |
1dd3794 | Brandt Bucher | 12 March 2020, 04:06:46 UTC | Simplify defaultdict.__or__ (#18931) | 12 March 2020, 04:06:46 UTC |
c00c86b | Pablo Galindo | 12 March 2020, 00:48:19 UTC | Fix syntax error in an example in the ast documentation and sync docstrings (GH-18946) | 12 March 2020, 00:48:19 UTC |
276a84a | José Roberto Meza Cabrera | 11 March 2020, 23:51:20 UTC | bpo-38080: Added "getproxies" to urllib fixes in the 2to3 tool (GH-16167) | 11 March 2020, 23:51:20 UTC |
64838ce | bobince | 11 March 2020, 23:39:02 UTC | bpo-39847: EnterNonRecursiveMutex() uses GetTickCount64() (GH-18780) The 32-bit (49-day) TickCount relied on in EnterNonRecursiveMutex can overflow in the gap between the 'target' time and the 'now' time WaitForSingleObjectEx returns, causing the loop to think it needs to wait another 49 days. This is most likely to happen when the machine is hibernated during WaitForSingleObjectEx. This makes acquiring a lock/event/etc from the _thread or threading module appear to never timeout. Replace with GetTickCount64 - this is OK now Python no longer supports XP which lacks it, and is in use for time.monotonic(). Co-authored-by: And Clover <and.clover@bromium.com> | 11 March 2020, 23:39:02 UTC |
894adc1 | Steve Dower | 11 March 2020, 23:24:30 UTC | bpo-39930: Fix MSBuild detection for Build Tools (GH-18938) Ensure we detect Build Tools installs using the newer logic, and skip looking in the registry for VS 2017. | 11 March 2020, 23:24:30 UTC |
196f1eb | Hai Shi | 11 March 2020, 16:56:08 UTC | bpo-1635741: Fix refleaks of time module error handling (GH-18486) | 11 March 2020, 16:56:08 UTC |
aa0c080 | Hai Shi | 11 March 2020, 16:50:52 UTC | bpo-1635741: Fix potential refleaks in binascii module (GH-18613) | 11 March 2020, 16:50:52 UTC |
41fbf86 | Hai Shi | 11 March 2020, 16:49:11 UTC | bpo-1635741: Port audioop extension module to multiphase initialization (PEP 489) (GH-18608) Co-authored-by: Victor Stinner <vstinner@python.org> | 11 March 2020, 16:49:11 UTC |
a158168 | Hai Shi | 11 March 2020, 16:46:06 UTC | bpo-1635741: Port _locale extension module to multiphase initialization (PEP 489) (GH-18358) Co-authored-by: Petr Viktorin <pviktori@redhat.com> | 11 March 2020, 16:46:06 UTC |
704e206 | Serhiy Storchaka | 11 March 2020, 16:42:03 UTC | bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880) | 11 March 2020, 16:42:03 UTC |
e553f20 | Karthikeyan Singaravelan | 11 March 2020, 15:06:12 UTC | bpo-39915: Ensure await_args_list is updated according to the order in which coroutines were awaited (GH-18924) Create call objects with awaited arguments instead of using call_args which has only last call value. | 11 March 2020, 15:06:12 UTC |
fde44ae | Steve Dower | 11 March 2020, 14:12:31 UTC | bpo-39930: Convert error to warning for more silent failure (GH-18921) Makes it an error to create a layout without vcruntime DLL | 11 March 2020, 14:12:31 UTC |
3c97e1e | Petr Viktorin | 11 March 2020, 13:27:42 UTC | bpo-39761: Fix dtrace build with empty $DFLAGS (GH-18766) This fixes a regression introduced in bpo-38960. When DFLAGS was empty, "$DFLAGS" results in an empty argument (""). Without the quotes, an empty variable will be ignored by the shell. | 11 March 2020, 13:27:42 UTC |
2dd4174 | Steve Dower | 11 March 2020, 11:18:12 UTC | bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918) Also adds GitHub CI test for Windows installer changes | 11 March 2020, 11:18:12 UTC |
39c3493 | Inada Naoki | 11 March 2020, 04:23:24 UTC | Fix download.html (GH-18902) `<tt>` is not allowed. Co-authored-by: Kyle Stanley <aeros167@gmail.com> | 11 March 2020, 04:23:24 UTC |
c77aa2d | Benjamin Peterson | 11 March 2020, 04:18:33 UTC | bpo-39926: Update unicodedata checksum tests for Unicode 13.0 update. (GH-18913) I forget these tests required the cpu resource. | 11 March 2020, 04:18:33 UTC |
51796e5 | Benjamin Peterson | 11 March 2020, 04:10:59 UTC | Update some www.unicode.org URLs to use HTTPS. (GH-18912) | 11 March 2020, 04:10:59 UTC |
051b9d0 | Benjamin Peterson | 11 March 2020, 03:41:34 UTC | closes bpo-39926: Update Unicode to 13.0.0. (GH-18910) | 11 March 2020, 03:41:34 UTC |
76d5877 | Andy Lester | 11 March 2020, 02:18:12 UTC | closes bpo-39922: Remove unused args from four functions. (GH-18893) | 11 March 2020, 02:18:12 UTC |
bd87a7f | Nikita Sobolev | 11 March 2020, 00:32:15 UTC | Updates functools.py with consistent quotes (GH-18825) I have noticed that `'` quotes are used everywhere except this particular case, which was introduced in https://github.com/python/cpython/pull/18726 So, this is a trivial fix to enforce better consistency. | 11 March 2020, 00:32:15 UTC |
4e53abb | Victor Stinner | 10 March 2020, 22:49:16 UTC | bpo-38631: _PyGILState_Init() returns PyStatus (GH-18908) _PyGILState_Init() now returns PyStatus rather than calling Py_FatalError() on failure. | 10 March 2020, 22:49:16 UTC |
88f82b2 | Miro Hrončok | 10 March 2020, 21:16:28 UTC | bpo-38662: ensurepip invokes pip via runpy (GH-18901) The ensurepip module now invokes pip via the runpy module. Hence it is no longer tightly coupled with the internal API of the bundled pip version, allowing easier updates to a newer pip version both internally and for distributors. This way, any changes to the internal pip API won't mean ensurepip needs to be changed as well. Also, distributors can update their pip wheels independent on CPython release schedule. Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> Co-Authored-By: Miro Hrončok <miro@hroncok.cz> | 10 March 2020, 21:16:28 UTC |
d06eec2 | Adam Johnson | 10 March 2020, 18:18:50 UTC | tracemalloc: 'pretty top' example no longer changes the filename (GH-18903) I've used this recipe a couple times and the filename editing has always been less than useful and something I've removed. This is because many modules end up losing which package they are located in, e.g. `util/date.py`. | 10 March 2020, 18:18:50 UTC |
13d52c2 | Serhiy Storchaka | 10 March 2020, 16:52:34 UTC | bpo-34822: Simplify AST for subscription. (GH-9605) * Remove the slice type. * Make Slice a kind of the expr type instead of the slice type. * Replace ExtSlice(slices) with Tuple(slices, Load()). * Replace Index(value) with a value itself. All non-terminal nodes in AST for expressions are now of the expr type. | 10 March 2020, 16:52:34 UTC |
e5e5632 | Antoine | 10 March 2020, 14:17:40 UTC | bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) | 10 March 2020, 14:17:40 UTC |
00d7cd8 | Victor Stinner | 10 March 2020, 14:15:14 UTC | bpo-38075: Fix random_seed(): use PyObject_CallOneArg() (GH-18897) Fix the random.Random.seed() method when a bool is passed as the seed. PyObject_Vectorcall() was misused: use PyObject_CallOneArg() instead. | 10 March 2020, 14:15:14 UTC |
8510f43 | Victor Stinner | 10 March 2020, 08:53:09 UTC | bpo-1294959: Add sys.platlibdir attribute (GH-18381) Add --with-platlibdir option to the configure script: name of the platform-specific library directory, stored in the new sys.platlitdir attribute. It is used to build the path of platform-specific dynamic libraries and the path of the standard library. It is equal to "lib" on most platforms. On Fedora and SuSE, it is equal to "lib64" on 64-bit systems. Co-Authored-By: Jan Matějek <jmatejek@suse.com> Co-Authored-By: Matěj Cepl <mcepl@cepl.eu> Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com> | 10 March 2020, 08:53:09 UTC |
700cb58 | Dong-hee Na | 10 March 2020, 07:41:44 UTC | bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779) | 10 March 2020, 07:41:44 UTC |
b4698ec | Victor Stinner | 10 March 2020, 00:28:54 UTC | bpo-39877: Deprecate PyEval_InitThreads() (GH-18892) Deprecated PyEval_InitThreads() and PyEval_ThreadsInitialized(). Calling PyEval_InitThreads() now does nothing. | 10 March 2020, 00:28:54 UTC |
175a704 | Victor Stinner | 09 March 2020, 23:37:48 UTC | bpo-39877: PyGILState_Ensure() don't call PyEval_InitThreads() (GH-18891) PyGILState_Ensure() doesn't call PyEval_InitThreads() anymore when a new Python thread state is created. The GIL is created by Py_Initialize() since Python 3.7, it's not needed to call PyEval_InitThreads() explicitly. Add an assertion to ensure that the GIL is already created. | 09 March 2020, 23:37:48 UTC |
addaaaa | Victor Stinner | 09 March 2020, 22:45:59 UTC | bpo-39763: Add _bootsubprocess to build Python on AIX (GH-18872) Add _bootsubprocess module to bootstrap Python: subprocess implementation which only uses the os module. On AIX, distutils.util uses _aix_support which calls subprocess.check_output(), before the _posixsubprocess module is built. Implement check_output() with os.system() in _bootsubprocess. | 09 March 2020, 22:45:59 UTC |
9ad58ac | Victor Stinner | 09 March 2020, 22:37:49 UTC | bpo-19466: Py_Finalize() clears daemon threads earlier (GH-18848) Clear the frames of daemon threads earlier during the Python shutdown to call objects destructors. So "unclosed file" resource warnings are now emitted for daemon threads in a more reliable way. Cleanup _PyThreadState_DeleteExcept() code: rename "garbage" to "list". | 09 March 2020, 22:37:49 UTC |
8e9c47a | Pete Wicken | 09 March 2020, 22:33:45 UTC | bpo-28577: Special case added to IP v4 and v6 hosts for /32 and /128 networks (GH-18757) The `.hosts()` method now returns the single address present in a /32 or /128 network. | 09 March 2020, 22:33:45 UTC |
9229eee | Victor Stinner | 09 March 2020, 22:10:53 UTC | bpo-39877: take_gil() checks tstate_must_exit() twice (GH-18890) take_gil() now also checks tstate_must_exit() after acquiring the GIL: exit the thread if Py_Finalize() has been called. | 09 March 2020, 22:10:53 UTC |
b7e9525 | Serhiy Storchaka | 09 March 2020, 22:07:47 UTC | bpo-36287: Make ast.dump() not output optional fields and attributes with default values. (GH-18843) The default values for optional fields and attributes of AST nodes are now set as class attributes (e.g. Constant.kind is set to None). | 09 March 2020, 22:07:47 UTC |
85f5a69 | Victor Stinner | 09 March 2020, 21:12:04 UTC | bpo-39877: Refactor take_gil() function (GH-18885) * Remove ceval parameter of take_gil(): get it from tstate. * Move exit_thread_if_finalizing() call inside take_gil(). Replace exit_thread_if_finalizing() with tstate_must_exit(): the caller is now responsible to call PyThread_exit_thread(). * Move is_tstate_valid() assertion inside take_gil(). Remove is_tstate_valid(): inline code into take_gil(). * Move gil_created() assertion inside take_gil(). | 09 March 2020, 21:12:04 UTC |
363fab8 | Terry Jan Reedy | 09 March 2020, 20:51:20 UTC | bpo-27115: Use Query subclass for IDLE editor Goto (GH-18871) Replace tkinter tkSimpleDialog.askinteger with a standard IDLE query dialog. The new box checks for positivity before returning. | 09 March 2020, 20:51:20 UTC |
e7cab7f | Batuhan Taşkaya | 09 March 2020, 20:27:03 UTC | bpo-38870: Simplify sequence interleaves in ast.unparse (GH-17892) | 09 March 2020, 20:27:03 UTC |
111e4ee | Victor Stinner | 09 March 2020, 20:24:14 UTC | bpo-39877: Py_Initialize() pass tstate to PyEval_InitThreads() (GH-18884) | 09 March 2020, 20:24:14 UTC |
3225b9f | Victor Stinner | 09 March 2020, 19:56:57 UTC | bpo-39877: Remove useless PyEval_InitThreads() calls (GH-18883) Py_Initialize() calls PyEval_InitThreads() since Python 3.7. It's no longer needed to call it explicitly. | 09 March 2020, 19:56:57 UTC |
eebaa9b | Serhiy Storchaka | 09 March 2020, 18:49:52 UTC | bpo-38249: Expand Py_UNREACHABLE() to __builtin_unreachable() in the release mode. (GH-16329) Co-authored-by: Victor Stinner <vstinner@python.org> | 09 March 2020, 18:49:52 UTC |
6d0ee60 | Victor Stinner | 09 March 2020, 18:35:26 UTC | bpo-36184: Port python-gdb.py to FreeBSD (GH-18873) python-gdb.py now checks for "take_gil" function name to check if a frame tries to acquire the GIL, instead of checking for "pthread_cond_timedwait" which is specific to Linux and can be a different condition than the GIL. | 09 March 2020, 18:35:26 UTC |
e5ccc94 | Serhiy Storchaka | 09 March 2020, 18:03:38 UTC | bpo-38643: Raise SystemError instead of crashing when PyNumber_ToBase is called with invalid base. (GH-18863) | 09 March 2020, 18:03:38 UTC |
413f013 | Serhiy Storchaka | 09 March 2020, 17:59:03 UTC | bpo-39904: Move handling of one-argument call of type() from type.__new__() to type.__call__(). (GH-18852) | 09 March 2020, 17:59:03 UTC |
6012f30 | Pablo Galindo | 09 March 2020, 13:48:01 UTC | bpo-39850: Add support for abstract sockets in multiprocessing (GH-18866) | 09 March 2020, 13:48:01 UTC |
dccd41e | Serhiy Storchaka | 09 March 2020, 13:12:41 UTC | bpo-39822: Use NULL instead of None for empty attrib in Element. (GH-18735) | 09 March 2020, 13:12:41 UTC |
88944a4 | Serhiy Storchaka | 09 March 2020, 12:37:08 UTC | bpo-39903: Fix double decref in _elementtree.Element.__getstate__ (GH-18850) | 09 March 2020, 12:37:08 UTC |
fc72ab6 | idomic | 09 March 2020, 11:57:53 UTC | bpo-38691: importlib ignores PYTHONCASEOK if -E is used (GH-18627) The importlib module now ignores the PYTHONCASEOK environment variable when the -E or -I command line options are being used. | 09 March 2020, 11:57:53 UTC |
e53a393 | Terry Jan Reedy | 09 March 2020, 05:38:07 UTC | bpo-27115: Move IDLE Query error blanking (GH-18868) Move required blanking of error text to non-overridden entry_ok(). (Omit news item.) | 09 March 2020, 05:38:07 UTC |
d7a04a8 | xatier | 09 March 2020, 02:58:24 UTC | Fix typo in the parser generator (GH-18603) | 09 March 2020, 02:58:24 UTC |
0911ea5 | Maor Kleinberger | 08 March 2020, 20:43:17 UTC | bpo-39517: Allow runpy.run_path() to accept path-like objects (GH-18699) | 08 March 2020, 20:43:17 UTC |
4ca060d | Terry Jan Reedy | 08 March 2020, 19:30:04 UTC | bpo-39885: IDLE context menu clears selection (#18859) Since clicking to get an IDLE context menu moves the cursor, any text selection should be and now is cleared. | 08 March 2020, 19:30:04 UTC |
2522db1 | Terry Jan Reedy | 08 March 2020, 18:32:42 UTC | bpo-39852: IDLE 'Go to line' deletes selection, updates status (GH-18801) It appears standard that moving the text insert cursor away from a selection clears the selection. Clearing prevents accidental deletion of a possibly off-screen bit of text. The update is for Ln and Col on the status bar. | 08 March 2020, 18:32:42 UTC |
c580981 | Julin S | 08 March 2020, 17:52:15 UTC | fix typo: add space (GH-18853) Fix typo in cmdline.rst Add space between the `-m` option and the module name (`timeit`). | 08 March 2020, 17:52:15 UTC |
28ca43b | Andy Lester | 08 March 2020, 16:53:59 UTC | closes bpo-39898: Remove unused arg from append_formattedvalue. (GH-18840) | 08 March 2020, 16:53:59 UTC |
db283b3 | Serhiy Storchaka | 08 March 2020, 12:31:47 UTC | bpo-39567: Document audit for os.walk, os.fwalk, Path.glob and Path.rglob. (GH-18499) | 08 March 2020, 12:31:47 UTC |
eb4e2ae | Victor Stinner | 08 March 2020, 10:57:45 UTC | bpo-39877: Fix PyEval_RestoreThread() for daemon threads (GH-18811) * exit_thread_if_finalizing() does now access directly _PyRuntime variable, rather than using tstate->interp->runtime since tstate can be a dangling pointer after Py_Finalize() has been called. * exit_thread_if_finalizing() is now called *before* calling take_gil(). _PyRuntime.finalizing is an atomic variable, we don't need to hold the GIL to access it. * Add ensure_tstate_not_null() function to check that tstate is not NULL at runtime. Check tstate earlier. take_gil() does not longer check if tstate is NULL. Cleanup: * PyEval_RestoreThread() no longer saves/restores errno: it's already done inside take_gil(). * PyEval_AcquireLock(), PyEval_AcquireThread(), PyEval_RestoreThread() and _PyEval_EvalFrameDefault() now check if tstate is valid with the new is_tstate_valid() function which uses _PyMem_IsPtrFreed(). | 08 March 2020, 10:57:45 UTC |
d5aa2e9 | Brandt Bucher | 08 March 2020, 03:44:18 UTC | bpo-39890: Don't mutate the AST when compiling starred assignments (GH-18833) | 08 March 2020, 03:44:18 UTC |
4663f66 | Brandt Bucher | 07 March 2020, 19:03:09 UTC | bpo-36144: Update MappingProxyType with PEP 584's operators (#18814) We make `|=` raise TypeError, since it would be surprising if `C.__dict__ |= {'x': 0}` silently did nothing, while `C.__dict__.update({'x': 0})` is an error. | 07 March 2020, 19:03:09 UTC |
8f13053 | Brandt Bucher | 07 March 2020, 18:23:49 UTC | bpo-39702: Update the Language Reference (PEP 614) (GH-18802) | 07 March 2020, 18:23:49 UTC |
02f64cb | Pablo Galindo | 07 March 2020, 18:22:58 UTC | bpo-39199: Use 'eval' mode for the examples with expression nodes (GH-18828) Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> | 07 March 2020, 18:22:58 UTC |
eb7560a | Pablo Galindo | 07 March 2020, 17:53:20 UTC | bpo-38894: Fix pathlib.Path.glob in the presence of symlinks and insufficient permissions (GH-18815) Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net> | 07 March 2020, 17:53:20 UTC |
aa450a0 | Andy Lester | 07 March 2020, 17:36:04 UTC | closes bpo-39886: Remove unused arg from config_get_stdio_errors. (GH-18823) | 07 March 2020, 17:36:04 UTC |
ad0c775 | Andy Lester | 07 March 2020, 17:29:10 UTC | closes bpo-39878: Remove unused arguments from static functions. (GH-18822) calc_number_widths -> PyObject *number fill_number -> Py_ssize_t d_end | 07 March 2020, 17:29:10 UTC |
c4928fc | Serhiy Storchaka | 07 March 2020, 15:25:32 UTC | bpo-39889: Fix ast.unparse() for subscript. (GH-18824) | 07 March 2020, 15:25:32 UTC |
31350f9 | Steve Dower | 07 March 2020, 00:11:47 UTC | bpo-39837: Disable macOS tests on Azure Pipelines (GH-18818) | 07 March 2020, 00:11:47 UTC |
9e5d30c | Victor Stinner | 06 March 2020, 23:54:20 UTC | bpo-39882: Py_FatalError() logs the function name (GH-18819) The Py_FatalError() function is replaced with a macro which logs automatically the name of the current function, unless the Py_LIMITED_API macro is defined. Changes: * Add _Py_FatalErrorFunc() function. * Remove the function name from the message of Py_FatalError() calls which included the function name. * Update tests. | 06 March 2020, 23:54:20 UTC |
7b3c252 | Victor Stinner | 06 March 2020, 23:24:23 UTC | bpo-39877: _PyRuntimeState.finalizing becomes atomic (GH-18816) Convert _PyRuntimeState.finalizing field to an atomic variable: * Rename it to _finalizing * Change its type to _Py_atomic_address * Add _PyRuntimeState_GetFinalizing() and _PyRuntimeState_SetFinalizing() functions * Remove _Py_CURRENTLY_FINALIZING() function: replace it with testing directly _PyRuntimeState_GetFinalizing() value Convert _PyRuntimeState_GetThreadState() to static inline function. | 06 March 2020, 23:24:23 UTC |
5572870 | Andy Lester | 06 March 2020, 22:53:17 UTC | bpo-39573: Use Py_IS_TYPE() macro to check for types (GH-18809) Co-authored-by: Victor Stinner <vstinner@python.org> | 06 March 2020, 22:53:17 UTC |
e59334e | Caleb Donovick | 06 March 2020, 18:20:48 UTC | bpo-17422: slightly more precise language (GH-18682) | 06 March 2020, 18:20:48 UTC |
9a73705 | Victor Stinner | 06 March 2020, 17:57:48 UTC | bpo-39873: Cleanup _PyObject_CheckConsistency() (GH-18807) Remove redundant check on Py_TYPE() value: it's already checked inside _PyType_CheckConsistency(). | 06 March 2020, 17:57:48 UTC |
57c9d17 | Brandt Bucher | 06 March 2020, 17:24:08 UTC | bpo-36144: Implement defaultdict union (GH-18729) For PEP 585 (this isn't in the PEP but is an obvious follow-up). | 06 March 2020, 17:24:08 UTC |
9566842 | Andy Lester | 06 March 2020, 15:46:04 UTC | closes bpo-39872: Remove unused args from symtable_exit_block and symtable_visit_annotations. (GH-18800) | 06 March 2020, 15:46:04 UTC |
1fb5a9f | Victor Stinner | 06 March 2020, 14:55:14 UTC | bpo-39873: PyObject_Init() uses PyObject_INIT() (GH-18804) Avoid duplicated code: * PyObject_Init() uses PyObject_INIT() * PyObject_InitVar() uses PyObject_INIT_VAR() | 06 March 2020, 14:55:14 UTC |
7598a93 | Slam | 06 March 2020, 11:08:17 UTC | PyPy already supports Python 3 (GH-18774) | 06 March 2020, 11:08:17 UTC |
8767ce9 | Andy Lester | 06 March 2020, 08:03:58 UTC | bpo-39573: Make Py_IS_TYPE() take constant parameters (GH-18799) Add _PyObject_CAST_CONST() macro: cast a pointer to (const PyObject *). | 06 March 2020, 08:03:58 UTC |
8bae219 | Brandt Bucher | 06 March 2020, 05:19:22 UTC | bpo-39868: Update Language Reference for PEP 572. (#18793) | 06 March 2020, 05:19:22 UTC |
e63117a | Andy Lester | 06 March 2020, 04:43:36 UTC | closes bpo-39859: Do not downcast result of hstrerror (GH-18790) set_herror builds a string by calling hstrerror but downcasts its return value to char *. It should be const char *. Automerge-Triggered-By: @benjaminp | 06 March 2020, 04:43:36 UTC |
da4d656 | Andy Lester | 06 March 2020, 04:34:36 UTC | closes bpo-39870: Remove unused arg from sys_displayhook_unencodable. (GH-18796) Also move int err to its innermost scope. | 06 March 2020, 04:34:36 UTC |
ce305d6 | Jules Lasne (jlasne) | 06 March 2020, 01:28:14 UTC | IDLE doc: improve Startup failure subsection. (#18771) Eliminate repeat of 'Options', reported by Jules Lasne, and improve wording elsewhere. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 06 March 2020, 01:28:14 UTC |
efc28bb | Victor Stinner | 05 March 2020, 17:13:56 UTC | Add a comment to _Py_RestoreSignals() (GH-18792) subprocess _posix_spawn() should stay in sync with _Py_RestoreSignals(). | 05 March 2020, 17:13:56 UTC |
f7b5d41 | Victor Stinner | 05 March 2020, 13:28:40 UTC | bpo-39855: Fix test_subprocess if nobody user doesn't exist (GH-18781) test_subprocess.test_user() now skips the test on an user name if the user name doesn't exist. For example, skip the test if the user "nobody" doesn't exist on Linux. | 05 March 2020, 13:28:40 UTC |
85cf1d5 | Gregory P. Smith | 05 March 2020, 00:45:22 UTC | bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786) `list(sys.modules.items())` was apparently not immune to "dictionary changed size during iteration" errors. Tested internally using an integration test that has run into this a couple of times in the past two years. With this patch applied, the test is no longer flaky. | 05 March 2020, 00:45:22 UTC |
d4a09c1 | Miss Islington (bot) | 05 March 2020, 00:12:28 UTC | Add a missing space after a period in 'typing.TypedDict' documentation (GH-18784) | 05 March 2020, 00:12:28 UTC |
67152d0 | Brett Cannon | 04 March 2020, 22:51:50 UTC | bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) | 04 March 2020, 22:51:50 UTC |
942f7a2 | Victor Stinner | 04 March 2020, 17:50:22 UTC | bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode (GH-16959)" (GH-18767) This reverts commit e471e72977c83664f13d041c78549140c86c92de. The mode will be removed from Python 3.10. | 04 March 2020, 17:50:22 UTC |
00c77ae | Victor Stinner | 04 March 2020, 17:44:49 UTC | bpo-39763: Refactor setup.py (GH-18778) Split long build_extensions() method into sub-methods. Fix also a typo in Popen.wait(): replace sts with status. | 04 March 2020, 17:44:49 UTC |
d82e469 | Batuhan Taşkaya | 04 March 2020, 16:16:47 UTC | bpo-39639: Remove the AST "Suite" node and associated code (GH-18513) The AST "Suite" node is no longer used and it can be removed from the ASDL definition and related structures (compiler, visitors, ...). Co-Authored-By: Victor Stinner <vstinner@python.org> Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | 04 March 2020, 16:16:46 UTC |
702e09f | Andy Lester | 04 March 2020, 14:52:15 UTC | bpo-39770, array module: Remove unnecessary descriptor counting (GH-18675) | 04 March 2020, 14:52:15 UTC |
a6d3546 | Victor Stinner | 04 March 2020, 14:11:43 UTC | bpo-39674: Fix typo in What's New In Python 3.9 (GH-18776) | 04 March 2020, 14:11:43 UTC |
1ec63b6 | Victor Stinner | 04 March 2020, 13:50:19 UTC | bpo-39763: distutils.spawn now uses subprocess (GH-18743) Reimplement distutils.spawn.spawn() function with the subprocess module. setup.py now uses a basic implementation of the subprocess module if the subprocess module is not available: before required C extension modules are built. | 04 March 2020, 13:50:19 UTC |
dffe4c0 | Andy Lester | 04 March 2020, 13:15:20 UTC | bpo-39573: Finish converting to new Py_IS_TYPE() macro (GH-18601) | 04 March 2020, 13:15:20 UTC |
22a9a54 | l0rb | 04 March 2020, 10:49:51 UTC | bpo-39826: add getConnection() hook to logging HTTPHandler (GH-18745) | 04 March 2020, 10:49:51 UTC |