{{ message }}
Conversation
…ys.path` (python#143642) Make ready_to_import always remove tempdir from sys.path
…pythonGH-143646) Co-authored-by: Ken Jin <kenjin4096@gmail.com>
…__` (python#143669) The code emitting a warning was removed in 96384b9.
…bjects in C implementation (pythonGH-143664) Previously, this could cause crash or data corruption, now concurrent calls of methods of the same object raise RuntimeError.
…python#143692) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
…sts (pythonGH-143571) These tests relied on a bug -- pythongh-84644, which is that singledispatch doesn't verify the annotation is on the "first" parameter.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
… in plistlib (pythonGH-143347) It was incorrect in case of mixed tabs and spaces in indentation.
* Raise TypeError for non-element argument in the Python implementation too. * Include the repr of the elements in the ValueError error message.
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
… 3.13 (pythonGH-137142) Add a note to the readline module documentation stating that Python 3.13 and later no longer supports readline in the default REPL, as per pythongh-118840. Includes workaround using PYTHON_BASIC_REPL. Update tutorial to remove the reference, and use a different key to test things out. Signed-off-by: Kuang Yu Heng <yuheng3107@gmail.com>
…ython#143254) Co-authored-by: Petr Viktorin <encukou@gmail.com>
… JSONDecodeError disappears during raising it (python#143561) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
…OP_SET|OP_DICT}` (pythonGH-143731) Signed-off-by: Manjusaka <me@manjusaka.me>
…python#142519) * Add everything to code blocks * Improve wording around atomicity; specify exact types * Better explain lock-free and atomicity
…rge offset in struct.pack_into() (pythonGH-143905)
…15232) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Victor Stinner <vstinner@python.org>
…rs specified (pythonGH-144324) Treat "+" and "/" like other characters not in the alternative Base64 alphabet when both altchars and ignorechars are specified. E.g. discard them if they are not in altchars but are in ignorechars, and set error if they are not in altchars and not in ignorechars. Only emit warnings if ignorechars is not specified.
…pythonGH-144391) Revert "pythongh-144145: Track nullness of properties in the Tier 2 JIT optimizer (pythonGH-144122)" This reverts commit 1dc12b2.
…onGH-144183) - Pass -v to pip, so compiler output is visible - Move the call ``spam.system(3)`` up so that error handling is tested right after it's added - Use `PyUnicode_AsUTF8AndSize` as `PyUnicode_AsUTF8` is not in the Limited API. - Add a footnote about embedded NULs.
…a re-entrant __index__ (pythonGH-142713)
…E_OPERAND` in JIT optiimizer (pythonGH-144394)
Run a long living subprocess which handles multiple requests instead of running a new subprocess for each request.
Modifies handling of `.gz` files in Android app payloads, and ensures that when the Android testbed streams logs, stream flushes aren't treated as newlines. This improves the output of test suites that use "one dot per test" progress indicators.
Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
…in logging cookbook (pythonGH-143683) Use getLogger() to get root logger in logging cookbook
…ack_UnpackDict (pythongh-144407) The positional arguments passed to _PyStack_UnpackDict are already kept alive by the caller, so we can avoid the extra reference count operations by using borrowed references instead of creating new ones. This reduces reference count contention in the free-threaded build when calling functions with keyword arguments. In particular, this avoids contention on the type argument to `__new__` when instantiating namedtuples with keyword arguments.
…hongh-144409) Add `gi_state`, `cr_state`, and `ag_state` attributes to generators, coroutines, and async generators respectively. These attributes return the current state as a string (e.g., `GEN_RUNNING`, `CORO_SUSPENDED`). The `inspect.getgeneratorstate()`, `inspect.getcoroutinestate()`, and `inspect.getasyncgenstate()` functions now return these attributes directly. This is in preparation for making `gi_frame` thread-safe, which may involve stop-the-world synchronization. The new state attributes avoid potential performance cliffs in `inspect.getgeneratorstate()` and similar functions by not requiring frame access. Also removes unused `FRAME_COMPLETED` state and renumbers the frame state enum to start at 0 instead of -1.
Co-authored-by: Isuru Fernando <isuruf@gmail.com> Co-authored-by: Lucas Colley <lucas.colley8@gmail.com>
…onGH-144443) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

📚 Documentation preview 📚: https://cpython-previews--1.org.readthedocs.build/