fa2eee9 | Christian Heimes | 19 November 2020, 07:47:32 UTC | bpo-1635741: Port grp and pwd to multiphase initialization (GH-23360) Signed-off-by: Christian Heimes <christian@python.org> | 19 November 2020, 07:47:32 UTC |
cc0cd43 | Christian Heimes | 19 November 2020, 07:46:29 UTC | bpo-1635741: Port _random to multiphase initialization (GH-23359) Signed-off-by: Christian Heimes <christian@python.org> | 19 November 2020, 07:46:29 UTC |
13b865f | David CARLIER | 19 November 2020, 07:24:15 UTC | bpo-42375: subprocess DragonFlyBSD build update. (GH-23320) Same as FreeBSD, file descriptors in /dev/fd id from 0 to 63. | 19 November 2020, 07:24:15 UTC |
4687338 | kj | 19 November 2020, 04:44:24 UTC | bpo-42345: Add whatsnew for typing.Literal in 3.10 (GH-23385) | 19 November 2020, 04:44:24 UTC |
a85fefe | Lysandros Nikolaou | 18 November 2020, 23:49:28 UTC | bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382) Automerge-Triggered-By: GH:lysnikolaou | 18 November 2020, 23:49:28 UTC |
6f4635f | Victor Stinner | 18 November 2020, 23:19:06 UTC | bpo-1635741: Port _warnings to the multi-phase init (GH-23379) Port the _warnings extension module to the multi-phase initialization API (PEP 489). | 18 November 2020, 23:19:06 UTC |
829b177 | Andre Delfino | 18 November 2020, 22:45:17 UTC | [doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769) | 18 November 2020, 22:45:17 UTC |
6223071 | Victor Stinner | 18 November 2020, 22:18:29 UTC | bpo-1635741: Convert _imp to multi-phase init (GH-23378) Convert the _imp extension module to the multi-phase initialization API (PEP 489). * Add _PyImport_BootstrapImp() which fix a bootstrap issue: import the _imp module before importlib is initialized. * Add create_builtin() sub-function, used by _imp_create_builtin(). * Initialize PyInterpreterState.import_func earlier, in pycore_init_builtins(). * Remove references to _PyImport_Cleanup(). This function has been renamed to finalize_modules() and moved to pylifecycle.c. | 18 November 2020, 22:18:29 UTC |
e025178 | Miro Hrončok | 18 November 2020, 21:39:03 UTC | bpo-39573: Remove What's new entry for Py_SIZE() (GH-23375) A follow up for 0e2ac21dd4960574e89561243763eabba685296a | 18 November 2020, 21:39:03 UTC |
7c9487d | Vladimir Matveev | 18 November 2020, 18:58:38 UTC | bpo-42085: Add documentation for Py_TPFLAGS_HAVE_AM_SEND (GH-23374) Updated docs to include `Py_TPFLAGS_HAVE_AM_SEND`. News section should not be necessary. Automerge-Triggered-By: GH:asvetlov | 18 November 2020, 18:58:38 UTC |
0e2ac21 | Victor Stinner | 18 November 2020, 17:48:06 UTC | bpo-39573: Convert Py_TYPE() and Py_SIZE() back to macros (GH-23366) This change partically reverts commit ad3252bad905d41635bcbb4b76db30d570cf0087 and the commit fe2978b3b940fe2478335e3a2ca5ad22338cdf9c. Many third party C extension modules rely on the ability of using Py_TYPE() to set an object type: "Py_TYPE(obj) = type;" or to set an object type using: "Py_SIZE(obj) = size;". | 18 November 2020, 17:48:06 UTC |
2156d96 | Steve Dower | 18 November 2020, 17:24:36 UTC | bpo-42336: Improve PCbuild batch files (GH-23275) | 18 November 2020, 17:24:36 UTC |
07f2ade | Christian Heimes | 18 November 2020, 15:38:53 UTC | bpo-40998: Address compiler warnings found by ubsan (GH-20929) Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran | 18 November 2020, 15:38:53 UTC |
46f59eb | Christian Heimes | 18 November 2020, 15:12:13 UTC | bpo-1635741: Port _hashlib to multiphase initialization (GH-23358) Signed-off-by: Christian Heimes <christian@python.org> | 18 November 2020, 15:12:13 UTC |
c701101 | Christian Heimes | 18 November 2020, 15:03:51 UTC | bpo-1635741: Port symtable module to multiphase initialization (GH-23361) Signed-off-by: Christian Heimes <christian@python.org> | 18 November 2020, 15:03:51 UTC |
d1e38d4 | Victor Stinner | 18 November 2020, 14:57:10 UTC | bpo-40998: Fix a refleak in create_filter() (GH-23365) | 18 November 2020, 14:57:10 UTC |
8fba952 | Victor Stinner | 18 November 2020, 14:36:27 UTC | bpo-42398: Fix "make regen-all" race condition (GH-23362) Fix a race condition in "make regen-all" when make -jN option is used to run jobs in parallel. The clinic.py script now only use atomic write to write files. Moveover, generated files are now left unchanged if the content does not change, to not change the file modification time. The "make regen-all" command runs "make clinic" and "make regen-importlib" targets: * "make regen-importlib" builds object files (ex: Modules/_weakref.o) from source files (ex: Modules/_weakref.c) and clinic files (ex: Modules/clinic/_weakref.c.h) * "make clinic" always rewrites all clinic files (ex: Modules/clinic/_weakref.c.h) Since there is no dependency between "clinic" and "regen-importlib" Makefile targets, these two targets can be run in parallel. Moreover, half of clinic.py file writes are not atomic and so there is a race condition when "make regen-all" runs jobs in parallel using make -jN option (which can be passed in MAKEFLAGS environment variable). Fix clinic.py to make all file writes atomic: * Add write_file() function to ensure that all file writes are atomic: write into a temporary file and then use os.replace(). * Moreover, write_file() doesn't recreate or modify the file if the content does not change to avoid modifying the file modification file. * Update test_clinic to verify these assertions with a functional test. * Remove Clinic.force attribute which was no longer used, whereas Clinic.verify remains useful. | 18 November 2020, 14:36:27 UTC |
ce04e71 | Christian Heimes | 18 November 2020, 12:10:53 UTC | bpo-41561: skip test_min_max_version_mismatch (GH-22308) skip test_min_max_version_mismatch when TLS 1.0 is not available Signed-off-by: Christian Heimes <christian@python.org> | 18 November 2020, 12:10:53 UTC |
ccdcb20 | Erlend Egeberg Aasland | 18 November 2020, 00:08:58 UTC | bpo-40656: Clean up detect_socket() (GH-20148) | 18 November 2020, 00:08:58 UTC |
d0d4a45 | Tom Gringauz | 17 November 2020, 23:18:05 UTC | bpo-42395: Add aclosing to __all__ (GH-23356) Automerge-Triggered-By: GH:asvetlov | 17 November 2020, 23:18:05 UTC |
9c98e8c | Tom Gringauz | 17 November 2020, 22:58:35 UTC | bpo-42396: Add a whatsnew entry about async contextlib.nullcontext (GH-23357) Automerge-Triggered-By: GH:asvetlov | 17 November 2020, 22:58:35 UTC |
7f9b25a | Victor Stinner | 17 November 2020, 22:28:25 UTC | bpo-41713: Port _signal module to multi-phase init (GH-23355) Port the _signal extension module to the multi-phase initialization API (PEP 489). Co-Authored-By: Mohamed Koubaa <koubaa.m@gmail.com> | 17 November 2020, 22:28:25 UTC |
1de61d3 | Victor Stinner | 17 November 2020, 22:08:10 UTC | bpo-41625: Skip os.splice() tests on AIX (GH-23354) On AIX, splice() only works with a socket, whereas the test uses a pipe. | 17 November 2020, 22:08:10 UTC |
29aa624 | Victor Stinner | 17 November 2020, 21:55:30 UTC | bpo-41686: Move _Py_RestoreSignals() to signalmodule.c (GH-23353) | 17 November 2020, 21:55:30 UTC |
282282a | Julien Palard | 17 November 2020, 21:50:23 UTC | Fix: Docstrings hidden by slots. (GH-23352) Some `__slots__` where before the docstring, hiding them. | 17 November 2020, 21:50:23 UTC |
2a9eddf | Pablo Galindo | 17 November 2020, 19:57:49 UTC | bpo-41625: Add a guard for Linux for splice() constants in the os module (GH-23350) | 17 November 2020, 19:57:49 UTC |
e59958f | Pablo Galindo | 17 November 2020, 19:57:03 UTC | bpo-41625: Specify that Linux >= 2.6.17 *and* glibc >= 2.5 are requir… (GH-23351) …ed for splice() | 17 November 2020, 19:57:03 UTC |
266b462 | Mark Shannon | 17 November 2020, 19:30:14 UTC | bpo-42349: Compiler clean up. More yak-shaving for PEP 626. (GH-23267) Make sure that CFG from compiler front-end is correct. Be a bit more aggressive in the compiler back-end. | 17 November 2020, 19:30:14 UTC |
fa96608 | Pablo Galindo | 17 November 2020, 18:13:50 UTC | bpo-41625: Add versionadded to os.splice() constants (GH-23340) | 17 November 2020, 18:13:50 UTC |
cda23be | Victor Stinner | 17 November 2020, 17:57:32 UTC | bpo-41686: Refactor signal_exec() (GH-23346) * Add signal_add_constants() function and add ADD_INT_MACRO macro. * The Python SIGINT handler is now installed at the end of signal_exec(). * Use Py_NewRef(). | 17 November 2020, 17:57:32 UTC |
0ae323b | Victor Stinner | 17 November 2020, 17:15:20 UTC | bpo-41686: Always create the SIGINT event on Windows (GH-23344) bpo-41686, bpo-41713: On Windows, the SIGINT event, _PyOS_SigintEvent(), is now created even if Python is configured to not install signal handlers (PyConfig.install_signal_handlers=0 or Py_InitializeEx(0)). Changes: * Move global variables initialization from signal_exec() to _PySignal_Init() to clarify that they are global variables cleared by _PySignal_Fini(). * _PySignal_Fini() now closes sigint_event. * IntHandler is no longer a global variable. | 17 November 2020, 17:15:20 UTC |
a1f401a | Erlend Egeberg Aasland | 17 November 2020, 15:55:12 UTC | bpo-42264: Deprecate sqlite3.OptimizedUnicode (GH-23163) | 17 November 2020, 15:55:12 UTC |
296a796 | Victor Stinner | 17 November 2020, 15:22:23 UTC | bpo-41713: Remove PyOS_InitInterrupts() function (GH-23342) Remove the undocumented PyOS_InitInterrupts() C function. * Rename PyOS_InitInterrupts() to _PySignal_Init(). It now installs other signal handlers, not only SIGINT. * Rename PyOS_FiniInterrupts() to _PySignal_Fini() | 17 November 2020, 15:22:23 UTC |
975022b | Christian Heimes | 17 November 2020, 14:40:35 UTC | bpo-40637: Don't test builtin PBKDF2 without builtin hashes (GH-20980) Skip testing of pure Python PBKDF2 when one or more builtin hash module is not available. Otherwise the import of hashlib prints noise on stderr. Signed-off-by: Christian Heimes <christian@python.org> | 17 November 2020, 14:40:35 UTC |
2ffba2a | Erlend Egeberg Aasland | 17 November 2020, 12:52:54 UTC | bpo-41861, _sqlite3 : Add NEWS entry and rename variables (GH-23337) | 17 November 2020, 12:52:54 UTC |
f03d318 | Yurii Karabas | 17 November 2020, 02:23:19 UTC | bpo-42345: Fix three issues with typing.Literal parameters (GH-23294) Literal equality no longer depends on the order of arguments. Fix issue related to `typing.Literal` caching by adding `typed` parameter to `typing._tp_cache` function. Add deduplication of `typing.Literal` arguments. | 17 November 2020, 02:23:19 UTC |
b0aba1f | Pablo Galindo | 17 November 2020, 01:17:12 UTC | bpo-42381: Allow walrus in set literals and set comprehensions (GH-23332) Currently walruses are not allowerd in set literals and set comprehensions: >>> {y := 4, 4**2, 3**3} File "<stdin>", line 1 {y := 4, 4**2, 3**3} ^ SyntaxError: invalid syntax but they should be allowed as well per PEP 572 | 17 November 2020, 01:17:12 UTC |
a57b3d3 | Pablo Galindo | 17 November 2020, 00:00:38 UTC | bpo-41625: Expose the splice() system call in the os module (GH-21947) | 17 November 2020, 00:00:38 UTC |
cce3f0b | Pablo Galindo | 16 November 2020, 23:59:55 UTC | Add GCC pragmas to silence compiler warning about ffi_prep_closure (GH-23327) | 16 November 2020, 23:59:55 UTC |
9cc9e27 | Steve Dower | 16 November 2020, 23:22:42 UTC | bpo-42120: Remove macro defining copysign to _copysign on Windows (GH-23326) | 16 November 2020, 23:22:42 UTC |
cae6018 | Lysandros Nikolaou | 16 November 2020, 23:09:35 UTC | bpo-42316: Allow unparenthesized walrus operator in indexes (GH-23317) | 16 November 2020, 23:09:35 UTC |
cb3e5ed | Lysandros Nikolaou | 16 November 2020, 23:08:35 UTC | bpo-42374: Allow unparenthesized walrus in genexps (GH-23319) This fixes a regression that was introduced by the new parser. Automerge-Triggered-By: GH:lysnikolaou | 16 November 2020, 23:08:35 UTC |
f62dad1 | Zackery Spytz | 16 November 2020, 21:32:35 UTC | bpo-38506: Fix the Windows py.exe launcher's misordering of 3.10 (GH-18307) | 16 November 2020, 21:32:35 UTC |
c26d591 | Lysandros Nikolaou | 16 November 2020, 18:46:37 UTC | bpo-40939: Document removal of the old parser in 3.10 whatsnew (GH-23321) Automerge-Triggered-By: GH:lysnikolaou | 16 November 2020, 18:46:37 UTC |
c79667f | Kevin Adler | 16 November 2020, 15:16:10 UTC | bpo-42087: Remove support for AIX 5.3 and below (GH-22830) As AIX 5.3 and below do not support thread_cputime, it was decided in https://bugs.python.org/issue40680 to require AIX 6.1 and above. This commit removes workarounds for — and references to — older, unsupported AIX versions. | 16 November 2020, 15:16:10 UTC |
ae6cd7c | Victor Stinner | 16 November 2020, 15:08:05 UTC | bpo-37205: time.time() cannot fail with fatal error (GH-23314) time.time(), time.perf_counter() and time.monotonic() functions can no longer fail with a Python fatal error, instead raise a regular Python exception on failure. Remove _PyTime_Init(): don't check system, monotonic and perf counter clocks at startup anymore. On error, _PyTime_GetSystemClock(), _PyTime_GetMonotonicClock() and _PyTime_GetPerfCounter() now silently ignore the error and return 0. They cannot fail with a Python fatal error anymore. Add py_mach_timebase_info() and win_perf_counter_frequency() sub-functions. | 16 November 2020, 15:08:05 UTC |
5909a49 | Victor Stinner | 16 November 2020, 14:20:34 UTC | bpo-42350: Fix Thread._reset_internal_locks() (GH-23268) Fix the threading.Thread class at fork: do nothing if the thread is already stopped (ex: fork called at Python exit). Previously, an error was logged in the child process. | 16 November 2020, 14:20:34 UTC |
3df5c68 | Victor Stinner | 16 November 2020, 12:21:45 UTC | bpo-37205: time.perf_counter() and time.monotonic() are system-wide (GH-23284) time.perf_counter() on Windows and time.monotonic() on macOS are now system-wide. Previously, they used an offset computed at startup to reduce the precision loss caused by the float type. Use time.perf_counter_ns() and time.monotonic_ns() added in Python 3.7 to avoid this precision loss. | 16 November 2020, 12:21:45 UTC |
aa01011 | Yash Shete | 16 November 2020, 05:02:35 UTC | bpo-42153 Fix link to IMAP documents in imaplib.rst (GH-23297) The University of Washington stopped hosting the IMAP documents. Link to a rescued copy on GitHub. | 16 November 2020, 05:02:35 UTC |
384b7a4 | kj | 16 November 2020, 03:27:23 UTC | bpo-42332: Add weakref slot to types.GenericAlias (GH-23250) Automerge-Triggered-By: GH:gvanrossum | 16 November 2020, 03:27:23 UTC |
c272d40 | Raymond Hettinger | 16 November 2020, 01:44:28 UTC | More updates to the descriptor howto guide (GH-23238) | 16 November 2020, 01:44:28 UTC |
c3b9592 | Dominik1123 | 16 November 2020, 01:30:55 UTC | bpo-42317: Improve docs of typing.get_args concerning Union (GH-23254) | 16 November 2020, 01:30:55 UTC |
a26215d | Serhiy Storchaka | 15 November 2020, 16:16:59 UTC | bpo-42318: Fix support of non-BMP characters in Tkinter on macOS (GH-23281) | 15 November 2020, 16:16:59 UTC |
7a27c7e | Ronald Oussoren | 14 November 2020, 15:07:47 UTC | bpo-42351: Avoid error when opening header with non-UTF8 encoding (GH-23279) grep_headers_for() would error out when a header contained text that cannot be interpreted as UTF-8. | 14 November 2020, 15:07:47 UTC |
2b39da4 | Hai Shi | 14 November 2020, 12:03:42 UTC | bpo-41832: Restore note about NULL in PyType_Slot.pfunc (GH-23243) | 14 November 2020, 12:03:42 UTC |
8836574 | Thomas Grainger | 14 November 2020, 12:02:15 UTC | fix typo in ThreadedChildWatcher docs (GH-23277) | 14 November 2020, 12:02:15 UTC |
d2e94bb | Brett Cannon | 13 November 2020, 23:14:58 UTC | bpo-42131: Add PEP 451-related methods to zipimport (GH-23187) Specifically, find_spec(), create_module(), and exec_module(). Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> | 13 November 2020, 23:14:58 UTC |
9b69342 | Steve Dower | 13 November 2020, 22:24:36 UTC | bpo-40754: Adds _testinternalcapi to Windows installer for test suite (GH-23271) | 13 November 2020, 22:24:36 UTC |
cd9fed6 | Christian Heimes | 13 November 2020, 18:48:52 UTC | bpo-41001: Add os.eventfd() (#20930) Co-authored-by: Kyle Stanley <aeros167@gmail.com> | 13 November 2020, 18:48:52 UTC |
bbeb2d2 | Jürgen Gmach | 13 November 2020, 18:15:37 UTC | bpo-42344: Improve pseudo implementation for SimpleNamespace (GH-23264) | 13 November 2020, 18:15:37 UTC |
f97406b | Christian Heimes | 13 November 2020, 15:37:52 UTC | bpo-40968: Send http/1.1 ALPN extension (#20959) Signed-off-by: Christian Heimes <christian@python.org> | 13 November 2020, 15:37:52 UTC |
09490a1 | Dong-hee Na | 13 November 2020, 15:15:17 UTC | bpo-42042: Use ids attribute instead of names attribute (GH-22739) | 13 November 2020, 15:15:17 UTC |
b3b9808 | Victor Stinner | 13 November 2020, 14:38:17 UTC | bpo-41617: Add _Py__has_builtin() macro (GH-23260) Fix building pycore_bitutils.h internal header on old clang version without __builtin_bswap16() (ex: Xcode 4.6.3 on Mac OS X 10.7). Add a new private _Py__has_builtin() macro to check for availability of a preprocessor builtin function. Co-Authored-By: Joshua Root <jmr@macports.org> Co-authored-by: Joshua Root <jmr@macports.org> | 13 November 2020, 14:38:17 UTC |
d96a7a8 | Victor Stinner | 13 November 2020, 13:44:42 UTC | bpo-42296: On Windows, fix CTRL+C regression (GH-23257) On Windows, fix a regression in signal handling which prevented to interrupt a program using CTRL+C. The signal handler can be run in a thread different than the Python thread, in which case the test deciding if the thread can handle signals is wrong. On Windows, _PyEval_SignalReceived() now always sets eval_breaker to 1 since it cannot test _Py_ThreadCanHandleSignals(), and eval_frame_handle_pending() always calls _Py_ThreadCanHandleSignals() to recompute eval_breaker. | 13 November 2020, 13:44:42 UTC |
0cec97e | Victor Stinner | 13 November 2020, 13:44:11 UTC | bpo-38823: Fix compiler warning in _ctypes on Windows (GH-23258) Explicitly cast PyExc_Exception to PyTypeObject* to fix the warning: modules\_ctypes\_ctypes.c(5748): warning C4133: '=': incompatible types - from 'PyObject *' to '_typeobject *' | 13 November 2020, 13:44:11 UTC |
fd009e6 | Mark Shannon | 13 November 2020, 12:53:53 UTC | bpo-42246: Fix memory leak in compiler (GH-23256) * Fix potential memory leak in assembler init. * Fix reference leak when encountering error during compilation of function body. | 13 November 2020, 12:53:53 UTC |
cc75ab7 | Mark Shannon | 12 November 2020, 19:49:33 UTC | bpo-42246: Eliminate jumps to exit blocks by copying those blocks. (#23251) * Compiler: eliminate jumps to short exit blocks by copying. | 12 November 2020, 19:49:33 UTC |
750c5ab | Mario Corchero | 12 November 2020, 17:27:44 UTC | bpo-42308: Add threading.__excepthook__ (GH-23218) Add threading.__excepthook__ to allow retrieving the original value of threading.excepthook in case it is set to a broken or a different value. | 12 November 2020, 17:27:44 UTC |
b5cc05b | Victor Stinner | 12 November 2020, 14:38:13 UTC | bpo-38823: Always build _ctypes with wchar_t (GH-23248) It is no longer possible to build the _ctypes extension module without wchar_t type: remove CTYPES_UNICODE macro. Anyway, the wchar_t type is required to build Python. | 12 November 2020, 14:38:13 UTC |
ef75a62 | Victor Stinner | 12 November 2020, 14:14:13 UTC | bpo-42260: Initialize time and warnings earlier at startup (GH-23249) * Call _PyTime_Init() and _PyWarnings_InitState() earlier during the Python initialization. * Inline _PyImportHooks_Init() into _PySys_InitCore(). * The _warnings initialization function no longer call _PyWarnings_InitState() to prevent resetting filters_version to 0. * _PyWarnings_InitState() now returns an int and no longer clear the state in case of error (it's done anyway at Python exit). * Rework init_importlib(), fix refleaks on errors. | 12 November 2020, 14:14:13 UTC |
d19fa7a | Victor Stinner | 12 November 2020, 13:09:57 UTC | bpo-38823: Fix refleaks in _ctypes extension init (GH-23247) Fix reference leaks in the error path of the initialization function the _ctypes extension module: call Py_DECREF(mod) on error. Change PyCFuncPtr_Type name from _ctypes.PyCFuncPtr to _ctypes.CFuncPtr to be consistent with the name exposed in the _ctypes namespace (_ctypes.CFuncPtr). Split PyInit__ctypes() function into sub-functions and add macros for readability. | 12 November 2020, 13:09:57 UTC |
c640915 | Mark Shannon | 12 November 2020, 10:42:44 UTC | Bump magic number. (GH-23245) | 12 November 2020, 10:42:44 UTC |
fd4ed57 | Jakub Stasiak | 12 November 2020, 09:49:30 UTC | bpo-42237: Fix os.sendfile() on illumos (GH-23154) | 12 November 2020, 09:49:30 UTC |
877df85 | Mark Shannon | 12 November 2020, 09:43:29 UTC | bpo-42246: Partial implementation of PEP 626. (GH-23113) * Implement new line number table format, as defined in PEP 626. | 12 November 2020, 09:43:29 UTC |
cda99b4 | Andrew Svetlov | 11 November 2020, 15:48:53 UTC | Fix memory leak introduced by GH-22780 (GH-23237) | 11 November 2020, 15:48:53 UTC |
ba2958e | Victor Stinner | 11 November 2020, 13:27:32 UTC | bpo-40170: Fix PyType_Ready() refleak on static type (GH-23236) bpo-1635741, bpo-40170: When called on a static type with NULL tp_base, PyType_Ready() no longer increments the reference count of the PyBaseObject_Type ("object). PyTypeObject.tp_base is a strong reference on a heap type, but it is borrowed reference on a static type. Fix 99 reference leaks at Python exit (showrefcount 18623 => 18524). | 11 November 2020, 13:27:32 UTC |
f9a8386 | Ammar Askar | 11 November 2020, 07:29:56 UTC | bpo-40932: Note security caveat of shlex.quote on Windows (GH-21502) Added a note in the `subprocess` docs that recommend using `shlex.quote` without mentioning that this is only applicable to Unix. Also added a warning straight into the `shlex` docs since it only says "for simple syntaxes resembling that of the Unix shell" and says using `quote` plugs the security hole without mentioning this important caveat. | 11 November 2020, 07:29:56 UTC |
fa476fe | Batuhan Taskaya | 11 November 2020, 07:14:12 UTC | bpo-39411: pyclbr rewrite on AST (#18103) - Rewrite pyclbr using an AST processor - Add is_async to the pyclbr.Function | 11 November 2020, 07:14:12 UTC |
95ce7cd | Victor Stinner | 11 November 2020, 00:52:26 UTC | bpo-1635741: Fix typo in PyModule_AddObjectRef() doc (GH-23234) It is similar to PyModule_AddObject(), not to itself. | 11 November 2020, 00:52:26 UTC |
78ba7c6 | kj | 10 November 2020, 23:56:55 UTC | bpo-42294: Grammar fixes in doc glossary strong/weak refs (GH-23227) | 10 November 2020, 23:56:55 UTC |
7e5ef0a | Diogo Dutra | 10 November 2020, 22:12:52 UTC | bpo-42140: Improve asyncio.wait function (GH-22938) # Improve asyncio.wait function The original code creates the futures set two times. We can create this set before, avoiding the second creation. This new behaviour [breaks the aiokafka library](https://github.com/aio-libs/aiokafka/pull/672), because it gives an iterator to that function, so the second iteration become empty. Automerge-Triggered-By: GH:1st1 | 10 November 2020, 22:12:52 UTC |
a13b26c | Hai Shi | 10 November 2020, 20:53:46 UTC | bpo-41073: PyType_GetSlot() can now accept static types. (GH-21931) PyType_GetSlot() can now accept static types. Co-Authored-By: Petr Viktorin <encukou@gmail.com> Automerge-Triggered-By: GH:encukou | 10 November 2020, 20:53:46 UTC |
ace3f9a | Victor Stinner | 10 November 2020, 20:10:22 UTC | bpo-42260: Fix _PyConfig_Read() if compute_path_config=0 (GH-23220) Fix _PyConfig_Read() if compute_path_config=0: use values set by Py_SetPath(), Py_SetPythonHome() and Py_SetProgramName(). Add compute_path_config parameter to _PyConfig_InitPathConfig(). The following functions now return NULL if called before Py_Initialize(): * Py_GetExecPrefix() * Py_GetPath() * Py_GetPrefix() * Py_GetProgramFullPath() * Py_GetProgramName() * Py_GetPythonHome() These functions no longer automatically computes the Python Path Configuration. Moreover, Py_SetPath() no longer computes program_full_path. | 10 November 2020, 20:10:22 UTC |
1e996c3 | Vladimir Matveev | 10 November 2020, 20:09:55 UTC | bpo-42085: Introduce dedicated entry in PyAsyncMethods for sending values (#22780) | 10 November 2020, 20:09:55 UTC |
e59b2de | Michal Čihař | 10 November 2020, 16:06:02 UTC | bpo-42014: shutil.rmtree: call onerror with correct function (GH-22585) The onerror is supposed to be called with failed function, but in this case lstat is wrongly used instead of open. Not sure if this needs bug or not... Automerge-Triggered-By: GH:hynek | 10 November 2020, 16:06:02 UTC |
3eb2846 | Joongi Kim | 10 November 2020, 15:19:11 UTC | Update whatsnew for 3.10 release about addition of contextlib.aclosing (GH-23217) | 10 November 2020, 15:19:11 UTC |
42d873c | Andrew Svetlov | 10 November 2020, 13:58:31 UTC | bpo-42183: Fix a stack overflow error for asyncio Task or Future repr() (GH-23020) The overflow occurs under some circumstances when a task or future recursively returns itself. Co-authored-by: Kyle Stanley <aeros167@gmail.com> | 10 November 2020, 13:58:31 UTC |
0b9c4c6 | Petr Viktorin | 10 November 2020, 13:47:31 UTC | bpo-42171: Add PEP573-related items to the limited API (GH-23009) | 10 November 2020, 13:47:31 UTC |
9303b9e | Ikko Ashimine | 10 November 2020, 12:42:36 UTC | Fix typo in test_array.py (GH-23189) | 10 November 2020, 12:42:36 UTC |
9e1b828 | Victor Stinner | 10 November 2020, 12:21:52 UTC | bpo-42260: Compute the path config in the main init (GH-23211) The path configuration is now computed in the "main" initialization. The core initialization no longer computes it. * Add _PyConfig_Read() function to read the configuration without computing the path configuration. * pyinit_core() no longer computes the path configuration: it is now computed by init_interp_main(). * The path configuration output members of PyConfig are now optional: * executable * base_executable * prefix * base_prefix * exec_prefix * base_exec_prefix * _PySys_UpdateConfig() now skips NULL strings in PyConfig. * _testembed: Rename test_set_config() to test_init_set_config() for consistency with other tests. | 10 November 2020, 12:21:52 UTC |
38811d6 | Ikko Ashimine | 10 November 2020, 05:57:34 UTC | Fix typo in unicodeobject.c (GH-23180) exeeds -> exceeds Automerge-Triggered-By: GH:Mariatta | 10 November 2020, 05:57:34 UTC |
bfc6b63 | jack1142 | 09 November 2020, 22:50:45 UTC | bpo-36310: Allow pygettext.py to detect calls to gettext in f-strings. (GH-19875) Adds support to Tools/i18n/pygettext.py for gettext calls in f-strings. This process is done by parsing the f-strings, processing each value, and flagging the ones which contain a gettext call. Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com> | 09 November 2020, 22:50:45 UTC |
1f73c32 | Yash Shete | 09 November 2020, 17:38:09 UTC | bpo-41712: Avoid runaway regex match in upload scripts (GH-23166) | 09 November 2020, 17:38:09 UTC |
23c5f93 | Victor Stinner | 09 November 2020, 12:40:47 UTC | bpo-42294: Add borrowed/strong reference to doc glossary (GH-23206) Add "borrowed reference" and "strong reference" to the documentation glossary. Enhance also Py_INCREF() and Py_NewRef() documentation. | 09 November 2020, 12:40:47 UTC |
a117167 | Tom Gringauz | 09 November 2020, 12:34:07 UTC | bpo-41543: contextlib.nullcontext can fill in for an async context manager (GH-21870) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | 09 November 2020, 12:34:07 UTC |
97e8b1e | Ammar Askar | 09 November 2020, 07:02:39 UTC | bpo-40624: Add support for the XPath != operator in xml.etree (GH-22147) | 09 November 2020, 07:02:39 UTC |
4eb41d0 | kj | 09 November 2020, 04:00:13 UTC | bpo-42233: Add union type expression support for GenericAlias and fix de-duplicating of GenericAlias (GH-23077) | 09 November 2020, 04:00:13 UTC |
23831a7 | Ronald Oussoren | 08 November 2020, 09:46:55 UTC | bpo-41754: Ignore NotADirectoryError in invocation of xdg-settings (GH-23075) It is not clear why this can happen, but several users have mentioned getting this exception on macOS. | 08 November 2020, 09:46:55 UTC |
4176193 | Ronald Oussoren | 08 November 2020, 09:05:27 UTC | bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) Co-authored-by: Lawrence D’Anna <lawrence_danna@apple.com> * Add support for macOS 11 and Apple Silicon (aka arm64) As a side effect of this work use the system copy of libffi on macOS, and remove the vendored copy * Support building on recent versions of macOS while deploying to older versions This allows building installers on macOS 11 while still supporting macOS 10.9. | 08 November 2020, 09:05:27 UTC |
fd6f6fa | Don Kirkby | 08 November 2020, 09:01:23 UTC | Minor wording change in concurrent.futures. (GH-23194) Fixes a grammar problem by adding a missing "as", and clarifies the wording of the valid ranges for max_workers. | 08 November 2020, 09:01:23 UTC |