Skip to content

gh-155095: Add soft-deprecated to site-packages - #155096

Closed
syphyr wants to merge 3003 commits into
python:mainfrom
syphyr:soft_dep
Closed

syphyr wants to merge 3003 commits into
python:mainfrom
syphyr:soft_dep

Conversation

@syphyr

@syphyr syphyr commented Aug 2, 2026 •

Copy link
Copy Markdown
miss-islington and others added 30 commits July 5, 2026 08:05
…GH-149907) (pythonGH-153076)

(cherry picked from commit 5f8d9d3)

Co-authored-by: Savage Mechanic <savagemechanic@github.com>
… in re docs (pythonGH-153072) (pythonGH-153074)

The example pattern does not fail to match '<user@host.com' outright --
re.search finds 'user@host.com' in it; it only fails to match the
whole string.  Reword to say so.
(cherry picked from commit fe9c721)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 5616505)

Co-authored-by: Stan Ulbrych <stan@python.org>
Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
…52876) (pythonGH-153081)

(cherry picked from commit 3cd6b74)

Co-authored-by: Milan Oberkirch <zvyn@oberkirch.org>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…` docs (pythonGH-153084) (python#153087)

[3.14] pythongh-151945: fix Sphinx reference warnings in `http.server` docs (pythonGH-153084)
(cherry picked from commit 9f9787d)
…ython#153097)

(cherry picked from commit 99b4cdb)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
…152625) (pythonGH-153099)

A Tk variable wrapper unsets its Tcl variable when garbage collected, so a
reference must be kept while a widget uses it.  Otherwise Tk recreates the Tcl
variable but never unsets it again, leaking it.
(cherry picked from commit 820b6ca)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…rmed request lines (pythonGH-152980) (pythonGH-153093)

Previously such error responses were sent in the bare HTTP/0.9 style,
without a status line and headers.
(cherry picked from commit 2ab620b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…strings (pythonGH-152531) (pythonGH-153102)

Tk geometry strings can contain a negative offset (e.g. 200x100+-9+-8)
when a window edge is positioned beyond the corresponding screen edge.
Note this in the geometry() and winfo_geometry() documentation.
(cherry picked from commit 19b5e8e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…tion (pythonGH-152481) (pythonGH-153111)

Link to the cursors(3tk) manual page for the available cursor names and
note that they are platform-dependent.
(cherry picked from commit ea57037)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
python#153114)

(cherry picked from commit 856049a)

Co-authored-by: Jonathan Dung <jonathandung@yahoo.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
…ts (pythonGH-152690) (pythonGH-153105)

The SimpleDialog keyboard tests generate key events after focus_force(),
which on Windows are dropped until the toplevel is mapped, so they could
fail intermittently (seen on the Windows10 buildbot as
test_return_no_default).  Wait until the window is mapped in these tests,
as pythonGH-152599 did for the other keyboard tests.

(cherry picked from commit 7d619c2)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…sallow all" (pythonGH-152525) (pythonGH-153108)

This change was accidentally reverted by f0daba1 (pythongh-106693,
pythonGH-149514), which only intended to revert the ob_sval change.
The tests were already restored by pythonGH-149569.
(cherry picked from commit 70100b9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…GH-149963) (pythonGH-153124)

(cherry picked from commit d2d415b)

Co-authored-by: Savage Mechanic <savagemechanic@github.com>
Co-authored-by: savagemechanic <20458938+savagemechanic@users.noreply.github.com>
pythonGH-153131)

Refer to RFC 3501, which obsoleted RFC 2060.  "]" is disallowed
in flags, not in tags.
(cherry picked from commit 74a2438)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…ostnames (pythonGH-105709) (python#153139)

pythongh-105708: 'V' could be case insensitive for IPvFuture hostnames (pythonGH-105709)

* pythongh-105708: 'V' could be case insensitive for IPvFuture hostnames

* pythongh-105708: 'V' could be case insensitive for IPvFuture hostnames & checking empty hostnames

* 📜🤖 Added by blurb_it.

* Fix the Merge changing \z to \Z.

* Fixed the News Entry.

* Fix the lint.

---------
(cherry picked from commit a47a66c)

Co-authored-by: Chandra <csreddy1998@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Senthil Kumaran <senthil@python.org>
…Tracker.__init__ (pythonGH-153142) (python#153146)

pythongh-153141: Fix mutable default argument in _SharedMemoryTracker.__init__ (pythonGH-153142)

Fix default argument for segment_names in _SharedMemoryTracker constructor to not use a mutable list.
(cherry picked from commit d733b10)

Co-authored-by: Vineet Kumar <108144301+whyvineet@users.noreply.github.com>
… in `glob.glob()` docs (pythonGH-148768) (python#153174)

(cherry picked from commit db3a477)

Co-authored-by: Eoin Shaughnessy <45000144+EoinTrial@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
…el` (pythonGH-149991) (python#153181)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
… Intel (pythonGH-148032) (python#153191)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…timestamps in the `time` module (pythonGH-152850) (python#153208)

(cherry picked from commit 2d7a74e)

Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
…s.chdir` docs (pythonGH-153152) (python#153213)

(cherry picked from commit f155dbe)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
…t_type_param_bound_or_default` (pythonGH-152684) (python#152696)

In `symtable_visit_type_param_bound_or_default()`, when a reserved name
(e.g. `__classdict__`) is used as a type parameter, `PyUnicode_FromFormat()`
is called to build the SyntaxError message. If the allocation fails and
returns NULL, the subsequent `PyErr_SetObject()` and `Py_DECREF()` calls
would dereference NULL, causing a segfault.

Fix by returning 0 immediately when `PyUnicode_FromFormat()` returns NULL.
This propagates the MemoryError set by `PyUnicode_FromFormat()`.

The bug was introduced in pythongh-128632 (commit 891c61c).
(cherry picked from commit 10ed03e)

Co-authored-by: Petr Vaganov <petrvaganoff@gmail.com>

* Remove test

---------

Co-authored-by: Petr Vaganov <petrvaganoff@gmail.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
…ormat can 'leak' internal names (pythonGH-150648) (python#153016)

(cherry picked from commit f75028f)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
…ythonGH-153218) (pythonGH-153220)

pythongh-150880: Clarify DirEntry.path construction semantics (pythonGH-153218)
(cherry picked from commit 53661af)

Co-authored-by: Zain Nadeem <zainnadeemzainnadeem80@gmail.com>
…ridden comparison operators (pythonGH-153203) (pythonGH-153225)

The final check-and-correct comparison in the arbitrary precision path
could call a comparison operator overridden in an int subclass.
Compare by value with int's tp_richcompare.

(cherry picked from commit 3a1b547)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…152985) (python#153155)

pythongh-82151: Update and improve urlsplit docstring (python#152985)



Slightly improved wording for % escapes. Consistent with rest of the doc.

---------



(cherry picked from commit ad54b91)

Co-authored-by: Pranav Choudhary <chaudharyypranav@gmail.com>
Co-authored-by: idomic <michael.ido@gmail.com>
…3127) (python#153232)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment