◐ Shell
clean mode source ↗

gh-74696: Pass root_dir to custom archivers which support it by serhiy-storchaka · Pull Request #94251 · python/cpython

@serhiy-storchaka

merwok

Co-authored-by: Éric <merwok@netwok.org>

gpshead

…hon#96454)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
…nGH-93031)

Use output from a 3.10+ REPL, showing invalid range, for the
SyntaxError examples in the tutorial introduction page.

Automerge-Triggered-By: GH:iritkatriel
…97645)

Fix the Python path configuration used to initialized sys.path at
Python startup. Paths are no longer encoded to UTF-8/strict to avoid
encoding errors if it contains surrogate characters (bytes paths are
decoded with the surrogateescape error handler).

getpath_basename() and getpath_dirname() functions no longer encode
the path to UTF-8/strict, but work directly on Unicode strings. These
functions now use PyUnicode_FindChar() and PyUnicode_Substring() on
the Unicode path, rather than strrchr() on the encoded bytes string.
bpo-35598: IDLE: Refactor window and frame class

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…n#97685)

This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.
…n#96837)

* When chaining futures, skip callback if loop closed.
* When shutting down an executor, don't wake a closed loop.
…ython#97660)

Evil code could cause fut_callbacks to be cleared when PyObject_RichCompareBool is called.
…ncancel() (python#95253)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
…ython#95919)

It was never really safe and this claim conflicts directly with the big warning in the docs about it being able to crash the interpreter.
…tions (python#95976)

* pythongh-95975: Move except/*/finally ref labels to more precise locations

* Add section headers to fix :keyword: role and aid navigation

* Move see also to the introduction rather than a particular subsection

* Fix other minor Sphinx syntax issues with except

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>

* Suppress redundant link to same section for except too

* Don't link try/except/else/finally keywords if in the same section

* Format try/except/finally as keywords in modified sections

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>

gvanrossum

merwok

merwok

Co-authored-by: Éric <merwok@netwok.org>

merwok

@merwok

gvanrossum

serhiy-storchaka

@serhiy-storchaka

carljm added a commit to carljm/cpython that referenced this pull request

Oct 6, 2022

mpage pushed a commit to mpage/cpython that referenced this pull request

Oct 11, 2022