gh-141444: Replace dead URL in urllib.robotparser example (GH-144443) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> by SkyMeilin · Pull Request #1 · SkyMeilin/cpython · GitHub
Skip to content

gh-141444: Replace dead URL in urllib.robotparser example (GH-144443) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>#1

Open
SkyMeilin wants to merge 3214 commits into
3.14from
main
Open

gh-141444: Replace dead URL in urllib.robotparser example (GH-144443) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>#1
SkyMeilin wants to merge 3214 commits into
3.14from
main

Conversation

@SkyMeilin

@SkyMeilin SkyMeilin commented Feb 16, 2026

Copy link
Copy Markdown
Owner

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

heikkitoivonen and others added 30 commits January 10, 2026 00:17
…ys.path` (python#143642)

Make ready_to_import always remove tempdir from sys.path
…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.
…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>
… 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
aisk and others added 29 commits February 1, 2026 04:01
…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.
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>

@SkyMeilin SkyMeilin left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aktualisiert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.