8ecc162 | Eisuke Kawashima | 27 April 2022, 14:51:36 UTC | Update Misc/NEWS.d/next/Library/2018-11-11-04-41-11.bpo-22276.Tt19TW.rst Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 27 April 2022, 14:51:36 UTC |
937b12a | Eisuke Kawashima | 10 November 2018, 20:40:15 UTC | bpo-22276: Fix pathlib.Path.glob not to ignore trailing path separator | 27 April 2022, 11:11:03 UTC |
b733708 | Dennis Sweeney | 27 April 2022, 10:45:40 UTC | gh-91719: Mark pycore_opcode.h as generated in .gitattributes (#91976) | 27 April 2022, 10:45:40 UTC |
29e2245 | Victor Stinner | 27 April 2022, 08:40:57 UTC | gh-91320: Add _Py_reinterpret_cast() macro (#91959) Fix C++ compiler warnings about "old-style cast" (g++ -Wold-style-cast) in the Python C API. Use C++ reinterpret_cast<> and static_cast<> casts when the Python C API is used in C++. Example of fixed warning: Include/object.h:107:43: error: use of old-style cast to ‘PyObject*’ {aka ‘struct _object*’} [-Werror=old-style-cast] #define _PyObject_CAST(op) ((PyObject*)(op)) Add _Py_reinterpret_cast() and _Py_static_cast() macros. | 27 April 2022, 08:40:57 UTC |
f882d33 | Alexander Shadchin | 27 April 2022, 06:30:54 UTC | Fix missing `f` prefix on f-strings (GH-91910) | 27 April 2022, 06:30:54 UTC |
80de027 | Victor Stinner | 26 April 2022, 20:43:50 UTC | gh-68966: Deprecate the mailcap module (#91951) | 26 April 2022, 20:43:50 UTC |
b87f7f2 | slateny | 26 April 2022, 19:12:02 UTC | bpo-21761: Clarify __file__/__cached__ in import reference (GH-31565) Automerge-Triggered-By: GH:brettcannon | 26 April 2022, 19:12:02 UTC |
f703c96 | Serhiy Storchaka | 26 April 2022, 18:07:25 UTC | gh-91870: Remove unsupported SRE opcode CALL (GH-91872) It was initially added to support atomic groups, but that support was never fully implemented, and CALL was only left in the compiler, but not interpreter and parser. ATOMIC_GROUP is now used to support atomic groups. | 26 April 2022, 18:07:25 UTC |
1af871e | Brett Cannon | 26 April 2022, 17:45:08 UTC | gh-91217: deprecate telnetlib (GH-91958) | 26 April 2022, 17:45:08 UTC |
4153f2c | Serhiy Storchaka | 26 April 2022, 05:01:33 UTC | gh-91917: Fix test_zipfile on non-UTF-8 locale (GH-91921) Skip the extraction test if file names are not encodable. | 26 April 2022, 05:01:33 UTC |
a568585 | Serhiy Storchaka | 26 April 2022, 05:00:47 UTC | gh-91916: Fix test_runpy on non-UTF-8 locale (GH-91920) If use a non-builtin codec, partially implemented in Python (e.g. ISO-8859-15), a new RecursionError (with empty error message) can be raised while handle a RecursionError. Testing for error message was needed to distinguish a recursion error from arbitrary RuntimeError. After introducing RecursionError, it became unnecessary. | 26 April 2022, 05:00:47 UTC |
f41c16b | Serhiy Storchaka | 26 April 2022, 04:59:56 UTC | gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919) | 26 April 2022, 04:59:56 UTC |
36306cf | Serhiy Storchaka | 26 April 2022, 04:58:41 UTC | gh-91915: Fix test_netrc on non-UTF-8 locale (GH-91918) | 26 April 2022, 04:58:41 UTC |
5397b5a | Jelle Zijlstra | 26 April 2022, 03:30:25 UTC | gh-91860: Add typing.dataclass_transform (PEP 681) (#91861) Copied from typing-extensions (python/typing#1054, python/typing#1120). Documentation is intentionally omitted, so we can focus on getting the runtime part in before the feature freeze. | 26 April 2022, 03:30:25 UTC |
d174ebe | Brett Cannon | 25 April 2022, 23:26:43 UTC | gh-91217: deprecate sunau (GH-91866) | 25 April 2022, 23:26:43 UTC |
cd5726f | Gregory P. Smith | 25 April 2022, 23:19:39 UTC | gh-91401: Add a failsafe way to disable vfork. (#91490) Just in case there is ever an issue with _posixsubprocess's use of vfork() due to the complexity of using it properly and potential directions that Linux platforms where it defaults to on could take, this adds a failsafe so that users can disable its use entirely by setting a global flag. No known reason to disable it exists. But it'd be a shame to encounter one and not be able to use CPython without patching and rebuilding it. See the linked issue for some discussion on reasoning. Also documents the existing way to disable posix_spawn. | 25 April 2022, 23:19:39 UTC |
eddd07f | Mariusz Felisiak | 25 April 2022, 22:33:45 UTC | bpo-46907: Update Windows installer to SQLite 3.38.2 (GH-32147) | 25 April 2022, 22:33:45 UTC |
64a54e5 | Victor Stinner | 25 April 2022, 22:14:30 UTC | gh-91719: Add pycore_opcode.h internal header file (#91906) Move the following API from Include/opcode.h (public C API) to a new Include/internal/pycore_opcode.h header file (internal C API): * EXTRA_CASES * _PyOpcode_Caches * _PyOpcode_Deopt * _PyOpcode_Jump * _PyOpcode_OpName * _PyOpcode_RelativeJump | 25 April 2022, 22:14:30 UTC |
20cc695 | Victor Stinner | 25 April 2022, 22:13:31 UTC | gh-64783: Fix signal.NSIG value on FreeBSD (#91929) Fix signal.NSIG value on FreeBSD to accept signal numbers greater than 32, like signal.SIGRTMIN and signal.SIGRTMAX. * Add Py_NSIG constant. * Add pycore_signal.h internal header file. * _Py_Sigset_Converter() now includes the range of valid signals in the error message. | 25 April 2022, 22:13:31 UTC |
61381d7 | Victor Stinner | 25 April 2022, 22:11:34 UTC | gh-89653: PEP 670: Functions don't cast pointers (#91697) In the limited C API version 3.11 and newer, the following functions no longer cast their object pointer argument with _PyObject_CAST() or _PyObject_CAST_CONST(): * Py_REFCNT(), Py_TYPE(), Py_SIZE() * Py_SET_REFCNT(), Py_SET_TYPE(), Py_SET_SIZE() * Py_IS_TYPE() * Py_INCREF(), Py_DECREF() * Py_XINCREF(), Py_XDECREF() * Py_NewRef(), Py_XNewRef() * PyObject_TypeCheck() * PyType_Check() * PyType_CheckExact() Split Py_DECREF() implementation in 3 versions to make the code more readable. Update the xxlimited.c extension, which uses the limited C API version 3.11, to pass PyObject* to these functions. | 25 April 2022, 22:11:34 UTC |
1cd8c29 | David Hewitt | 25 April 2022, 15:56:20 UTC | gh-91880: add try/except around `signal.signal` (#91881) Fixes gh-91880. | 25 April 2022, 15:56:20 UTC |
54d068a | Serhiy Storchaka | 25 April 2022, 14:35:14 UTC | gh-91904: Fix setting envvar PYTHONREGRTEST_UNICODE_GUARD (GH-91905) It always failed on non-UTF-8 locale and prevented running regrtests. | 25 April 2022, 14:35:14 UTC |
93d2801 | Jelle Zijlstra | 25 April 2022, 13:40:18 UTC | gh-90633: Improve error and docs for typing.assert_never (#91720) Closes #90633 Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | 25 April 2022, 13:40:18 UTC |
9ff2f12 | Christian Heimes | 25 April 2022, 10:58:25 UTC | gh-84461: Include _emscripten_info in pythoninfo output (GH-91907) | 25 April 2022, 10:58:25 UTC |
f7641a2 | Ezio Melotti | 25 April 2022, 10:05:54 UTC | gh-91888: add a `:gh:` role to the documentation (#91889) * Add a new :gh:`...` role for GitHub issues. * Fix a GitHub id to use the :gh: role. * Add Misc/NEWS entry. * Refactoring and rephrasing. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | 25 April 2022, 10:05:54 UTC |
4403320 | Barry Warsaw | 24 April 2022, 22:50:07 UTC | Rewrite audio.py to jive with image.py (#91886) Similar to the rewrite of email/mime/image.py and associated test after the deprecation of imghdr.py, thisrewrites email/mime/audio.py and associated tests after the deprecation of sndhdr.py. Closes #91885 | 24 April 2022, 22:50:07 UTC |
e93d2fb | Jelle Zijlstra | 24 April 2022, 22:02:57 UTC | gh-91821: Make decimal test succeed consistently (#91825) The test relies on precision being set to 9, but some ways of invoking this test leave it set to 28 instead. I don't know exactly how it happens, but setting the precision directly should make the behavior consistent. | 24 April 2022, 22:02:57 UTC |
dd3cf12 | Jelle Zijlstra | 24 April 2022, 21:13:15 UTC | gh-91491: What's New in 3.11 section for typing PEPs (#91721) Other aspects of typing aren't covered yet; I'll do that in a separate PR. | 24 April 2022, 21:13:15 UTC |
0907217 | Serhiy Storchaka | 24 April 2022, 07:23:59 UTC | Simplify testing the warning filename (GH-91868) The context manager result has the "filename" attribute. | 24 April 2022, 07:23:59 UTC |
b4e0484 | Zac Hatfield-Dodds | 24 April 2022, 00:55:22 UTC | gh-91230: Concise catch_warnings with simplefilter (#91435) | 24 April 2022, 00:55:22 UTC |
692e907 | Brett Cannon | 23 April 2022, 21:48:17 UTC | gh-91217: deprecate spwd (#91846) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | 23 April 2022, 21:48:17 UTC |
2889042 | Serhiy Storchaka | 23 April 2022, 15:49:23 UTC | RE: Pre-split the list of opcode names (GH-91859) 1. It makes them interned. 2. It allows to add comments to individual opcodes. | 23 April 2022, 15:49:23 UTC |
92c1037 | Christian Heimes | 23 April 2022, 12:59:33 UTC | gh-84461: Add --enable-wasm-pthreads and more file systems (GH-91820) | 23 April 2022, 12:59:33 UTC |
130a8c3 | Serhiy Storchaka | 23 April 2022, 09:50:42 UTC | gh-91308: Simplify parsing inline flag "x" (verbose) (GH-91855) | 23 April 2022, 09:50:42 UTC |
6b45076 | Serhiy Storchaka | 23 April 2022, 09:49:06 UTC | RE: Add more tests for inline flag "x" and re.VERBOSE (GH-91854) | 23 April 2022, 09:49:06 UTC |
9b5ca54 | Christian Heimes | 23 April 2022, 07:52:16 UTC | gh-84461: Add sys._emscripten_info, improve docs and build (gh-91781) | 23 April 2022, 07:52:16 UTC |
0daa99f | Pablo Galindo Salgado | 23 April 2022, 02:16:48 UTC | gh-88116: Enhance the inspect frame APIs to use the extended position information (GH-91531) | 23 April 2022, 02:16:48 UTC |
a3f2cf3 | slateny | 23 April 2022, 00:30:52 UTC | gh-85864: Mark positional-only args in io docs (#91683) | 23 April 2022, 00:30:52 UTC |
254aaa7 | Shantanu | 22 April 2022, 23:01:52 UTC | gh-91547: Remove "Undocumented modules" page (#91682) | 22 April 2022, 23:01:52 UTC |
e7929cb | Brett Cannon | 22 April 2022, 22:48:03 UTC | gh-91217: deprecate-sndhdr (#91806) Also inline necessary functionality from `sndhdr` into `email.mime.audio` for `MIMEAudio`. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | 22 April 2022, 22:48:03 UTC |
5576ddb | Géry Ogam | 22 April 2022, 22:47:09 UTC | bpo-46720: Add support for path-like objects to multiprocessing.set_executable for Windows (GH-31279) This bring the API to be on a par with Unix-like systems. | 22 April 2022, 22:47:09 UTC |
f912cc0 | Serhiy Storchaka | 22 April 2022, 18:37:46 UTC | gh-91575: Add a script for generating data for case-insensitive matching in re (GH-91660) Also test that all extra cases are in BMP. | 22 April 2022, 18:37:46 UTC |
48ec61a | Serhiy Storchaka | 22 April 2022, 16:53:10 UTC | gh-91700: Validate the group number in conditional expression in RE (GH-91702) In expression (?(group)...) an appropriate re.error is now raised if the group number refers to not defined group. Previously it raised RuntimeError: invalid SRE code. | 22 April 2022, 16:53:10 UTC |
6ccfa31 | Serhiy Storchaka | 22 April 2022, 15:35:28 UTC | gh-90568: Fix exception type for \N with a named sequence in RE (GH-91665) re.error is now raised instead of TypeError. | 22 April 2022, 15:35:28 UTC |
2f233fc | Guido van Rossum | 22 April 2022, 14:46:26 UTC | gh-89279: In ceval.c, redefine some macros for speed (#32387) Macros Py_DECREF, Py_XDECREF, Py_IS_TYPE, _Py_atomic_load_32bit_impl and _Py_DECREF_SPECIALIZED are redefined as macros that completely replace the inline functions of the same name. These three came out in the top four of functions that (in MSVC) somehow weren't inlined. Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | 22 April 2022, 14:46:26 UTC |
9fe82d0 | Dominic Davis-Foster | 22 April 2022, 14:28:39 UTC | gh-91764: Mark version typing.Unpack and LiteralString were added in (#91817) Closes GH-91764 | 22 April 2022, 14:28:39 UTC |
1218061 | Erlend Egeberg Aasland | 22 April 2022, 12:59:18 UTC | gh-89653: PEP 670: Amend docs (GH-91813) | 22 April 2022, 12:59:18 UTC |
9e146bb | Victor Stinner | 22 April 2022, 11:05:36 UTC | gh-80527: Deprecate PEP 623 Unicode functions (#91801) Deprecate functions: * PyUnicode_AS_DATA() * PyUnicode_AS_UNICODE() * PyUnicode_GET_DATA_SIZE() * PyUnicode_GET_SIZE() Previously, these functions were macros and so it wasn't possible to decorate them with Py_DEPRECATED(). | 22 April 2022, 11:05:36 UTC |
82ec638 | Petr Viktorin | 22 April 2022, 10:44:43 UTC | Docs: Clarify availability of PyOS_CheckStack (GH-91816) | 22 April 2022, 10:44:43 UTC |
bcf14ae | Sam Ezeh | 22 April 2022, 04:27:15 UTC | gh-91291: Accept attributes as keyword arguments in decimal.localcontext (#32242) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 22 April 2022, 04:27:15 UTC |
5e130a8 | Matthew Rahtz | 22 April 2022, 04:22:53 UTC | bpo-43224: Implement pickling of TypeVarTuples (#32119) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 22 April 2022, 04:22:53 UTC |
2551a6c | Brett Cannon | 22 April 2022, 02:28:34 UTC | gh-91217: deprecate-pipes (GH-91779) | 22 April 2022, 02:28:34 UTC |
29afb7d | Erlend Egeberg Aasland | 22 April 2022, 01:45:16 UTC | gh-69093: Add indexing and slicing support to sqlite3.Blob (#91599) Authored-by: Aviv Palivoda <palaviv@gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> | 22 April 2022, 01:45:16 UTC |
1317b70 | Inada Naoki | 22 April 2022, 01:39:24 UTC | gh-91156: Use `locale.getencoding()` instead of getpreferredencoding (GH-91732) Co-authored-by: Victor Stinner <vstinner@python.org> | 22 April 2022, 01:39:24 UTC |
efe7fd4 | Victor Stinner | 21 April 2022, 21:26:25 UTC | gh-89653: Add assertions to unicodeobject.h functions (#91800) | 21 April 2022, 21:26:25 UTC |
636ad7b | Victor Stinner | 21 April 2022, 21:07:13 UTC | gh-89653: PEP 670: Convert unicodeobject.h macros to functions (#91799) Convert unicodeobject.h macros to static inline functions: * PyUnicode_AS_DATA() * PyUnicode_AS_UNICODE() * PyUnicode_GET_DATA_SIZE() * PyUnicode_GET_SIZE() Static inline functions are wrapped by macros which casts arguments with _PyObject_CAST() to prevent introducing new compiler warnings when passing "const PyObject*". | 21 April 2022, 21:07:13 UTC |
364ed94 | Victor Stinner | 21 April 2022, 21:04:01 UTC | gh-89373: _Py_Dealloc() checks tp_dealloc exception (#32357) If Python is built in debug mode, _Py_Dealloc() now ensures that the tp_dealloc function leaves the current exception unchanged. | 21 April 2022, 21:04:01 UTC |
8a4e519 | Victor Stinner | 21 April 2022, 21:00:42 UTC | gh-79315: Add Include/cpython/pythread.h header (#91798) | 21 April 2022, 21:00:42 UTC |
6f9addb | Victor Stinner | 21 April 2022, 21:00:26 UTC | gh-79315: Add Include/cpython/modsupport.h header (#91797) | 21 April 2022, 21:00:26 UTC |
c1474fa | Victor Stinner | 21 April 2022, 20:44:23 UTC | gh-89653: PEP 670: Group deprecated API in unicodeobject.h (#91796) | 21 April 2022, 20:44:23 UTC |
eaa85cb | Victor Stinner | 21 April 2022, 20:07:19 UTC | gh-91768: C API no longer use "const PyObject*" type (#91769) Py_REFCNT(), Py_TYPE(), Py_SIZE() and Py_IS_TYPE() functions argument type is now "PyObject*", rather than "const PyObject*". * Replace also "const PyObject*" with "PyObject*" in functions: * _Py_strhex_impl() * _Py_strhex_with_sep() * _Py_strhex_bytes_with_sep() * Remove _PyObject_CAST_CONST() and _PyVarObject_CAST_CONST() macros. * Py_IS_TYPE() can now use Py_TYPE() in its implementation. | 21 April 2022, 20:07:19 UTC |
128d624 | Victor Stinner | 21 April 2022, 19:53:18 UTC | gh-89653: PEP 670: Convert unicodeobject.h macros to functions (#91773) Convert unicodeobject.h macros to static inline functions: * PyUnicode_MAX_CHAR_VALUE() * PyUnicode_READ() * PyUnicode_READY() * PyUnicode_READ_CHAR() * PyUnicode_WRITE() Move PyUnicode_READY() after _PyUnicode_Ready(), since it uses _PyUnicode_Ready(). Static inline functions are wrapped by macros which casts arguments with _PyObject_CAST() and casts 'kind' arguments to "unsigned int" to prevent introducing new compiler warnings when passing "const PyObject*". | 21 April 2022, 19:53:18 UTC |
f8dc618 | Guido van Rossum | 21 April 2022, 18:53:57 UTC | GH-91719: Make MSVC generate somewhat faster switch code (#91718) Apparently a switch on an 8-bit quantity where all cases are present generates a more efficient jump (doing only one indexed memory load instead of two). So we make opcode and use_tracing uint8_t, and generate a macro full of extra `case NNN:` lines for all unused opcodes. See https://github.com/faster-cpython/ideas/issues/321#issuecomment-1103263673 | 21 April 2022, 18:53:57 UTC |
d44815c | Mark Shannon | 21 April 2022, 18:08:36 UTC | GH-88116: Document that PyCodeNew is dangerous, and make PyCode_NewEmpty less dangerous. (GH-91790) | 21 April 2022, 18:08:36 UTC |
5974827 | Mark Shannon | 21 April 2022, 17:14:01 UTC | GH-88756: Update docs for PEP 523 eval function type. (GH-91788) | 21 April 2022, 17:14:01 UTC |
ac4ffd3 | Petr Viktorin | 21 April 2022, 16:03:25 UTC | bpo-47169: Export PyOS_CheckStack on Windows (GH-32414) | 21 April 2022, 16:03:25 UTC |
944fffe | Mark Shannon | 21 April 2022, 15:10:37 UTC | GH-88116: Use a compact format to represent end line and column offsets. (GH-91666) * Stores all location info in linetable to conform to PEP 626. * Remove column table from code objects. * Remove end-line table from code objects. * Document new location table format | 21 April 2022, 15:10:37 UTC |
2a5f171 | Victor Stinner | 21 April 2022, 14:52:54 UTC | gh-89653: PEP 670: Convert tuple macros to functions (#91786) Convert macros to static inline functions: * PyTuple_GET_SIZE() * PyTuple_SET_ITEM() * PyList_GET_SIZE() * PyList_SET_ITEM() Add a macro converting arguments to PyTupleObject*, PyListObject* or PyObject* to prevent emitting new compiler warnings. According to PEP 670, PyTuple_GET_ITEM() and PyList_GET_ITEM() are left as macros. | 21 April 2022, 14:52:54 UTC |
1b184c8 | Victor Stinner | 21 April 2022, 14:40:34 UTC | gh-91782: Define static_assert() macro on FreeBSD (#91787) On FreeBSD, if the static_assert() macro is not defined, define it in Python until <sys/cdefs.h> supports C11: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255290 | 21 April 2022, 14:40:34 UTC |
1a2b282 | Victor Stinner | 21 April 2022, 14:01:47 UTC | gh-89653: PEP 670: Convert PyWeakref_GET_OBJECT() to function (#91785) Convert the PyWeakref_GET_OBJECT() macro to a static inline function. Add an assertion to check the argument with PyWeakref_Check(). Add a macro converting the argument to PyObject* to prevent emitting new compiler warning. | 21 April 2022, 14:01:47 UTC |
f2b4e45 | Dennis Sweeney | 21 April 2022, 06:06:35 UTC | gh-91636: Don't clear required fields of function objects (GH-91651) | 21 April 2022, 06:06:35 UTC |
615b24c | Iman Kermani | 21 April 2022, 01:45:24 UTC | bpo-42066: CookieJar cookies should not be sorted (GH-22745) | 21 April 2022, 01:45:24 UTC |
031f1e6 | Victor Stinner | 21 April 2022, 01:14:57 UTC | gh-90623: signal.raise_signal() calls PyErr_CheckSignals() (#91756) signal.raise_signal() and os.kill() now call PyErr_CheckSignals() to check immediately for pending signals. | 21 April 2022, 01:14:57 UTC |
c77953b | Victor Stinner | 21 April 2022, 01:10:51 UTC | Revert "gh-85567: Register a cleanup function to close files for FileType objects in argparse (#32257)" (#91771) This reverts commit 328dbc051f84bd5fdf61101bb4fa61d85f8b7feb. | 21 April 2022, 01:10:51 UTC |
4e52c66 | Victor Stinner | 21 April 2022, 00:51:17 UTC | gh-89653: PEP 670: Convert unicodeobject.h macros to functions (#91705) Convert unicodeobject.h macros to static inline functions: * PyUnicode_CHECK_INTERNED() * PyUnicode_DATA(), _PyUnicode_COMPACT_DATA(), _PyUnicode_NONCOMPACT_DATA() * PyUnicode_GET_LENGTH() * PyUnicode_IS_ASCII() * PyUnicode_IS_COMPACT() * PyUnicode_IS_COMPACT_ASCII() * PyUnicode_IS_READY() Reorder functions to declare functions before their first usage. Static inline functions are wrapped by macros which casts arguments with _PyObject_CAST() to prevent introducing new compiler warnings when passing "const PyObject*". | 21 April 2022, 00:51:17 UTC |
25e3574 | Raymond Hettinger | 20 April 2022, 21:02:47 UTC | Minor improvements to grammar and markup. (GH-91762) | 20 April 2022, 21:02:47 UTC |
d608a01 | Mariatta Wijaya | 20 April 2022, 19:18:30 UTC | Fix typo in GH Issue template (GH-91759) Typo in the word enhancement. | 20 April 2022, 19:18:30 UTC |
7cdaf87 | Victor Stinner | 20 April 2022, 17:26:40 UTC | gh-91731: Replace Py_BUILD_ASSERT() with static_assert() (#91730) Python 3.11 now uses C11 standard which adds static_assert() to <assert.h>. * In pytime.c, replace Py_BUILD_ASSERT() with preprocessor checks on SIZEOF_TIME_T with #error. * On macOS, py_mach_timebase_info() now accepts timebase members with the same size than _PyTime_t. * py_get_monotonic_clock() now saturates GetTickCount64() to _PyTime_MAX: GetTickCount64() is unsigned, whereas _PyTime_t is signed. | 20 April 2022, 17:26:40 UTC |
ad3ca17 | slateny | 20 April 2022, 16:23:40 UTC | bpo-23747: Enhance platform doc, document default behavior (GH-31462) | 20 April 2022, 16:23:40 UTC |
d7d7e6c | Dennis Sweeney | 20 April 2022, 15:15:45 UTC | Cast to (destructor) to fix compiler warnings (GH-91711) | 20 April 2022, 15:15:45 UTC |
b8812c9 | dependabot[bot] | 20 April 2022, 15:04:56 UTC | build(deps): bump actions/upload-artifact from 2.3.1 to 3 (#32227) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.1 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.3.1...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 20 April 2022, 15:04:56 UTC |
3ace103 | dependabot[bot] | 20 April 2022, 14:53:08 UTC | build(deps): bump actions/cache from 2.1.7 to 3.0.1 (#32228) Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.0.1. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v2.1.7...v3.0.1) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 20 April 2022, 14:53:08 UTC |
f571c26 | Dong-hee Na | 20 April 2022, 14:10:41 UTC | gh-91632: Fix generic_alias_iterator to be finalized at exit. (GH-91727) | 20 April 2022, 14:10:41 UTC |
f92bcfe | Irit Katriel | 20 April 2022, 12:43:10 UTC | gh-89770: [PEP-678] add exception notes to tutorial (GH-30441) | 20 April 2022, 12:43:10 UTC |
aaeea78 | Victor Stinner | 20 April 2022, 11:19:05 UTC | gh-91731: Build Python with -std=c11 (#91733) Python is now built with "-std=c11" compiler option, rather than "-std=c99". | 20 April 2022, 11:19:05 UTC |
4420faf | Jakub Kulík | 20 April 2022, 10:46:08 UTC | gh-91734: Fix ossaudio support on Solaris (GH-91735) | 20 April 2022, 10:46:08 UTC |
5101d97 | slateny | 20 April 2022, 08:24:53 UTC | bpo-30718: Add information about text buffering (GH-32351) | 20 April 2022, 08:24:53 UTC |
26f2e68 | Raymond Hettinger | 20 April 2022, 06:21:54 UTC | Clean-up the argparse docs quick links table (GH-91726) | 20 April 2022, 06:21:54 UTC |
4d2403f | Inada Naoki | 20 April 2022, 05:06:29 UTC | gh-91020: Add `PyBytes_Type.tp_alloc` for subclass (GH-91686) | 20 April 2022, 05:06:29 UTC |
692aea6 | slateny | 20 April 2022, 03:59:48 UTC | Add link to sys.path in os lib (#91679) | 20 April 2022, 03:59:48 UTC |
1ba63e3 | dependabot[bot] | 20 April 2022, 03:50:07 UTC | build(deps): bump actions/checkout from 2 to 3 (#32226) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 20 April 2022, 03:50:07 UTC |
326ae71 | AJ Jordan | 20 April 2022, 01:20:25 UTC | Fix awkward sentence in signal docs (#91508) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 20 April 2022, 01:20:25 UTC |
b6d5e3c | Nick | 19 April 2022, 20:08:06 UTC | bpo-46075: Store localhost cookies in CookieJar (#30108) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 19 April 2022, 20:08:06 UTC |
74e3192 | dependabot[bot] | 19 April 2022, 20:03:58 UTC | build(deps): bump actions/setup-python from 2 to 3 (#31630) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 19 April 2022, 20:03:58 UTC |
da6c785 | Dennis Sweeney | 19 April 2022, 18:02:19 UTC | gh-90667: Add specializations of Py_DECREF when types are known (GH-30872) | 19 April 2022, 18:02:19 UTC |
ab0d35d | Kumar Aditya | 19 April 2022, 17:41:36 UTC | bpo-46712: share more global strings in deepfreeze (gh-32152) (for gh-90868) | 19 April 2022, 17:41:36 UTC |
3c43806 | Irit Katriel | 19 April 2022, 17:16:20 UTC | gh-74166: make all_errors keyword-only (GH-91704) | 19 April 2022, 17:16:20 UTC |
a059395 | Ma Lin | 19 April 2022, 16:36:51 UTC | bpo-40859: Update Windows build to use xz-5.2.5 (GH-20622) | 19 April 2022, 16:36:51 UTC |
e4e8895 | Ma Lin | 19 April 2022, 14:49:36 UTC | gh-91616: re module, fix .fullmatch() mismatch when using Atomic Grouping or Possessive Quantifiers (GH-91681) These jumps should use DO_JUMP0() instead of DO_JUMP(): - JUMP_POSS_REPEAT_1 - JUMP_POSS_REPEAT_2 - JUMP_ATOMIC_GROUP | 19 April 2022, 14:49:36 UTC |
061a8bf | Victor Stinner | 19 April 2022, 14:27:00 UTC | gh-91231: Add shutdown_timeout to multiprocessing BaseManager (#32112) Add an optional keyword 'shutdown_timeout' parameter to the multiprocessing.BaseManager constructor. Kill the process if terminate() takes longer than the timeout. Multiprocessing tests pass test.support.SHORT_TIMEOUT to BaseManager.shutdown_timeout. | 19 April 2022, 14:27:00 UTC |