Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-105259: Ensure we don't show newline characters for trailing NEWLINE ↵ | Pablo Galindo Salgado | 2023-06-06 | 5 | -5/+17 |
| | | | | tokens (#105364) | ||||
* | gh-102304: Fix up Simple ABI doc (GH-105351) | Victor Stinner | 2023-06-06 | 2 | -9/+4 |
| | |||||
* | gh-104411: Update test_getint for Tcl 9.0 (GH-104412) | Christopher Chavez | 2023-06-06 | 1 | -1/+4 |
| | |||||
* | gh-105268: Remove _PyGC_FINALIZED() macro (#105350) | Victor Stinner | 2023-06-06 | 3 | -8/+10 |
| | | | | | Remove the old private, undocumented and untested _PyGC_FINALIZED() macro which was kept for backward compatibility with Python 3.8 and older. | ||||
* | Add myself as codeowner for Limited API/Stable ABI, remove from *import* ↵ | Petr Viktorin | 2023-06-06 | 1 | -1/+7 |
| | | | | | (GH-105349) This should set up more relevant notifications for me. | ||||
* | gh-90005: Don't link with libbsd if not needed (#105236) | Erlend E. Aasland | 2023-06-06 | 3 | -5/+9 |
| | | | | The regression was introduced with commit 5b946cada. Restore pre gh-29696 behaviour. | ||||
* | gh-105292: Add option to make ↵ | Irit Katriel | 2023-06-06 | 5 | -13/+48 |
| | | | | | | | traceback.TracebackException.format_exception_only recurse into exception groups (#105294) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-102304: Fix Py_INCREF() stable ABI in debug mode (#104763) | Victor Stinner | 2023-06-06 | 5 | -27/+17 |
| | | | | | | | | | | | When Python is built in debug mode (if the Py_REF_DEBUG macro is defined), the Py_INCREF() and Py_DECREF() function are now always implemented as opaque functions to avoid leaking implementation details like the "_Py_RefTotal" variable or the _Py_DecRefTotal_DO_NOT_USE_THIS() function. * Remove _Py_IncRefTotal_DO_NOT_USE_THIS() and _Py_DecRefTotal_DO_NOT_USE_THIS() from the stable ABI. * Remove _Py_NegativeRefcount() from limited C API. | ||||
* | gh-102304: doc: Add links to Stable ABI and Limited C API (#105345) | Victor Stinner | 2023-06-06 | 17 | -42/+58 |
| | | | | | | | | | * Add "limited-c-api" and "stable-api" references. * Rename "stable-abi-list" reference to "limited-api-list". * Makefile: Document files regenerated by "make regen-limited-abi" * Remove first empty line in generated files: - Lib/test/test_stable_abi_ctypes.py - PC/python3dll.c | ||||
* | gh-104399: Use newer libtommath APIs when necessary (GH-104407) | Christopher Chavez | 2023-06-06 | 2 | -2/+25 |
| | |||||
* | Display the sanitizer config in the regrtest header. (#105301) | Gregory P. Smith | 2023-06-06 | 2 | -1/+21 |
| | | | | | | | Display the sanitizers present in libregrtest. Having this in the CI output for tests with the relevant environment variable displayed will help make it easier to do what we need to create an equivalent local test run. | ||||
* | gh-105324: Fix tokenize module main function for stdin (#105325) | Pablo Galindo Salgado | 2023-06-05 | 2 | -2/+3 |
| | |||||
* | Remove dead code in codeop.py (#105263) | Tian Gao | 2023-06-05 | 1 | -10/+0 |
| | |||||
* | gh-89412: Add missing attributes (added in 3.10) to traceback module docs ↵ | Jakub Kuczys | 2023-06-05 | 3 | -2/+18 |
| | | | | (#105046) | ||||
* | What's New in 3.12: List 'Improved Modules' alphabetically (#105315) | Hugo van Kemenade | 2023-06-05 | 1 | -107/+107 |
| | |||||
* | gh-105286: Improve `typing.py` docstrings (#105287) | Alex Waygood | 2023-06-05 | 1 | -217/+253 |
| | | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | ||||
* | gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates ↵ | Alex Waygood | 2023-06-05 | 3 | -8/+38 |
| | | | | to `False` (#105281) | ||||
* | gh-103906: Remove immortal refcounting in compile/marshal.c (gh-103922) | Dong-hee Na | 2023-06-05 | 3 | -8/+8 |
| | |||||
* | gh-105237: Allow calling `issubclass(X, typing.Protocol)` again (#105239) | Alex Waygood | 2023-06-05 | 3 | -0/+65 |
| | |||||
* | gh-105164: Detect annotations inside match blocks (#105177) | Jelle Zijlstra | 2023-06-05 | 3 | -0/+123 |
| | |||||
* | GH-105229: Replace some superinstructions with single instruction ↵ | Mark Shannon | 2023-06-05 | 17 | -686/+731 |
| | | | | equivalent. (GH-105230) | ||||
* | GH-104584: Allow optimizers to opt out of optimizing. (GH-105244) | Mark Shannon | 2023-06-05 | 2 | -12/+20 |
| | |||||
* | gh-103558: Add coverage tests for argparse (#103570) | Tian Gao | 2023-06-05 | 3 | -7/+92 |
| | | | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: hauntsaninja <hauntsaninja@gmail.com> | ||||
* | gh-98963: Restore the ability to have a dict-less property. (#105262) | Gregory P. Smith | 2023-06-05 | 3 | -13/+97 |
| | | | | | Ignore doc string assignment failures in `property` as has been the behavior of all past Python releases. | ||||
* | gh-80480: array: Add 'w' typecode. (#105242) | Inada Naoki | 2023-06-04 | 7 | -58/+158 |
| | |||||
* | gh-104882: Docs: fix description of relationship between ↵ | Joe Geisbauer | 2023-06-04 | 1 | -1/+1 |
| | | | | `socket.getblocking()` and `socket.gettimeout()` (#105026) | ||||
* | Fix typo in Python 3.12 What's New (#105278) | Shantanu | 2023-06-04 | 1 | -2/+2 |
| | |||||
* | gh-104690 Disallow thread creation and fork at interpreter finalization ↵ | chgnrdv | 2023-06-04 | 8 | -30/+97 |
| | | | | | | | | | | | | | | | | | (#104826) Disallow thread creation and fork at interpreter finalization. in the following functions, check if interpreter is finalizing and raise `RuntimeError` with appropriate message: * `_thread.start_new_thread` and thus `threading` * `posix.fork` * `posix.fork1` * `posix.forkpty` * `_posixsubprocess.fork_exec` when a `preexec_fn=` is supplied. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> | ||||
* | gh-89415: Mention new `IP_*` constants in `socket` module in the docs (#105266) | Nikita Sobolev | 2023-06-03 | 1 | -1/+2 |
| | |||||
* | gh-103277: remove unused macros (#105247) | Irit Katriel | 2023-06-03 | 1 | -19/+0 |
| | |||||
* | gh-101524: Only Use Public C-API in the _xxsubinterpreters Module (gh-105258) | Eric Snow | 2023-06-02 | 11 | -36/+38 |
| | | | The _xxsubinterpreters module was meant to only use public API. Some internal C-API usage snuck in over the last few years (e.g. gh-28969). This fixes that. | ||||
* | gh-105080: Fixed inconsistent signature on derived classes (#105217) | Tian Gao | 2023-06-02 | 3 | -11/+31 |
| | |||||
* | GH-102404, GH-100956: Document how to do a WASI build (GH-105251) | Brett Cannon | 2023-06-02 | 3 | -174/+192 |
| | | | Also includes a reference shell script to implements what is documented. | ||||
* | gh-104614: Fix potential ref. leak in ↵ | Erlend E. Aasland | 2023-06-02 | 1 | -1/+3 |
| | | | | _testcapimodule/get_basic_static_type() (#105225) | ||||
* | gh-102778: update documentation of PyErr_PrintEx and traceback.print_last() ↵ | Irit Katriel | 2023-06-02 | 2 | -7/+11 |
| | | | | regarding sys.last_exc (#105190) | ||||
* | gh-87092: avoid gcc warning on uninitialized struct field in assemble… ↵ | Dong-hee Na | 2023-06-02 | 1 | -0/+1 |
| | | | | | (gh-105243) gh-87092: avoid gcc warning on uninitialized struct field in assemble.c (part2) | ||||
* | gh-105240: add missing function prototypes (#105241) | Irit Katriel | 2023-06-02 | 1 | -2/+2 |
| | |||||
* | gh-105214: Use named constants for MAKE_FUNCTION oparg (#105215) | Jelle Zijlstra | 2023-06-02 | 6 | -289/+294 |
| | |||||
* | gh-105194: Fix format specifier escaped characters in f-strings (#105231) | Pablo Galindo Salgado | 2023-06-02 | 6 | -2/+34 |
| | |||||
* | GH-104584: Plugin optimizer API (GH-105100) | Mark Shannon | 2023-06-02 | 31 | -501/+950 |
| | |||||
* | GH-105162: Account for `INSTRUMENTED_RESUME` in gen.close/throw. (GH-105187) | Mark Shannon | 2023-06-02 | 3 | -3/+52 |
| | |||||
* | gh-105184: document that marshal functions can fail and need to be checked ↵ | Irit Katriel | 2023-06-02 | 2 | -0/+8 |
| | | | | with PyErr_Occurred (#105185) | ||||
* | gh-104799: Default missing lists in AST to the empty list (#104834) | Jelle Zijlstra | 2023-06-02 | 4 | -239/+400 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-85275: Remove old buffer APIs (#105137) | Inada Naoki | 2023-06-02 | 9 | -133/+79 |
| | | | | | They are now abi-only. Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | gh-92536: Remove PyUnicode_READY() calls (#105210) | Victor Stinner | 2023-06-01 | 32 | -186/+5 |
| | | | | Since Python 3.12, PyUnicode_READY() does nothing and always returns 0. | ||||
* | gh-92536: Argument Clinic no longer emits PyUnicode_READY() (#105208) | Victor Stinner | 2023-06-01 | 35 | -321/+37 |
| | | | | | | Since Python 3.12, PyUnicode_READY() does nothing and always returns 0. Argument Clinic now also checks for .cpp files (PC/_wmimodule.cpp). | ||||
* | gh-104614: Make Sure ob_type is Always Set Correctly by PyType_Ready() ↵ | Eric Snow | 2023-06-01 | 4 | -17/+128 |
| | | | | | | | (gh-105122) When I added the relevant condition to type_ready_set_bases() in gh-103912, I had missed that the function also sets tp_base and ob_type (if necessary). That led to problems for third-party static types. We fix that here, by making those extra operations distinct and by adjusting the condition to be more specific. | ||||
* | gh-104341: Call _PyEval_ReleaseLock() with NULL When Finalizing the Current ↵ | Eric Snow | 2023-06-01 | 4 | -9/+46 |
| | | | | | | | Thread (gh-105109) This avoids the problematic race in drop_gil() by skipping the FORCE_SWITCHING code there for finalizing threads. (The idea for this approach came out of discussions with @markshannon.) | ||||
* | GH-89886: Bump to GNU Autoconf v2.71 (#104925) | Erlend E. Aasland | 2023-06-01 | 9 | -7262/+10397 |
| | | | Co-authored-by: Christian Heimes <christian@python.org> | ||||
* | gh-105140: remove unused arg of _PyErr_ChainStackItem (#105141) | Irit Katriel | 2023-06-01 | 3 | -34/+9 |
| |