Skip to content

Conversation

@roddyrap
Copy link

@roddyrap roddyrap commented Apr 25, 2025

serhiy-storchaka and others added 30 commits July 31, 2024 11:54
…n sys.excepthook (pythonGH-122456) (pythonGH-122515)

Before, the exception caused by calling non-default sys.excepthook
in code.InteractiveInterpreter bubbled up to the caller, ending the REPL.
(cherry picked from commit bd3d31f)

Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
…use of importlib.reload. (pythonGH-122493) (pythonGH-122505)

pythongh-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (pythonGH-122493)

(cherry picked from commit f071f01)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
…on (pythonGH-122385) (python#122554)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
) (python#122591)

---------
(cherry picked from commit dbdbef3)

Co-authored-by: Jonathon Vandezande <jevandezande@gmail.com>
…24.04 (pythonGH-122568) (python#122594)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
Co-authored-by: jianghuyiyuan <shuangcui@live.com>
Fix typos in docs, error messages and comments (python#122502)
…ization (pythonGH-122481) (python#122495)

Fix crash when importing ssl after re-initialization

The current METH_FASTCALL|METH_KEYWORDS functions in a non-builtin module can cause segfaults after restarting the main interpreter, invoking _PyArg_UnpackKeywords() with an insufficiently cleared _PyArg_Parser struct.

This patch fixes the invalidation of the static argument parsers.
) (python#122642)

Doc: Improve wording of ``os.path.commonpath()`` (pythonGH-122627)
(cherry picked from commit 7a5c410)

Co-authored-by: Matth-M <93771840+Matth-M@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…es' (pythonGH-122646) (python#122650)

Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (pythonGH-122646)
(cherry picked from commit 06eb970)

Co-authored-by: scottwoodall <scott.woodall@gmail.com>
…2651) (python#122654)

pythonGH-121970: Fix ``gettext`` for audit events (pythonGH-122651)
(cherry picked from commit 95f5c89)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…ling info (pythonGH-122624) (python#122659)

pythongh-122623: Improve `c-api/bytearray.rst` with error handling info (pythonGH-122624)
(cherry picked from commit 151934a)

Co-authored-by: sobolevn <mail@sobolevn.me>
… (python#122672)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
…) (python#122684)

pythongh-121367: [doc] BUILD_TUPLE arg can be 0 (pythonGH-122663)
(cherry picked from commit 1422500)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
…I) (pythonGH-122280) (python#122644)

[3.12] pythongh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-pythonGH-122280)
(cherry picked from commit d91ac52)
…#122722)



This was broken in pythongh-97963.
(cherry picked from commit b72c748)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
…python#118594)

pythongh-83505: Add markdown mimetype mapping (pythonGH-17995)
(cherry picked from commit b6f0ab5)

Co-authored-by: Ryan Batchelder <ryanbatch@gmail.com>
…ds (pythonGH-122574) (python#122677)

pythongh-122573: Require Python 3.10 or newer for Windows builds (pythonGH-122574)

Match statements in tooling require a more recent Python. `Tools/cases_generator/*.py`

Co-authored-by: Jonathan Protzenko <protz@microsoft.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
…s are sound (pythonGH-122233) (python#122599)

* pythongh-121650: Encode newlines in headers, and verify headers are sound (pythonGH-122233)

- Encode header parts that contain newlines

Per RFC 2047:

> [...] these encoding schemes allow the
> encoding of arbitrary octet values, mail readers that implement this
> decoding should also ensure that display of the decoded data on the
> recipient's terminal will not cause unwanted side-effects

It seems that the "quoted-word" scheme is a valid way to include
a newline character in a header value, just like we already allow
undecodable bytes or control characters.
They do need to be properly quoted when serialized to text, though.

- Verify that email headers are well-formed

This should fail for custom fold() implementations that aren't careful
about newlines.

Co-authored-by: Bas Bloemsaat <bas@bloemsaat.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 0976339)

* Document changes as made in 3.12.5
pythonGH-120107) (python#122741)

(cherry picked from commit 4b66b6b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…t truth values in Element tree (pythonGH-119762) (python#120190)

pythongh-119577: Adjust DeprecationWarning when testing element truth values in ElementTree (pythonGH-119762)

Adjust DeprecationWarning when testing element truth values in
ElementTree, we're planning to go with the more natural True return
rather than a disruptive harder to code around exception raise, and are
deferring the behavior change for a few more releases.

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
(cherry picked from commit 5b8a6c5)

Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
…le (pythonGH-122630) (python#122648)

pythongh-122334: Fix test_embed failure when missing _ssl module (pythonGH-122630)
(cherry picked from commit 50b3603)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
Co-authored-by: Wulian233 <1055917385@qq.com>
…2. (python#122774)

Workaround bundled pip 24.2 failures on macOS 10.9 to 10.12 installers.

See pypa/pip#12901 for more information.
…mutable/immutable types (pythonGH-122512) (python#122779)

pythongh-122511: Improve documentation for object identity of mutable/immutable types (pythonGH-122512)
(cherry picked from commit 76bdeeb)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
ewdurbin added a commit to psf/clabot that referenced this pull request Apr 26, 2025
by default, the webhook handler from django-github-app processes and stores all events, even if they are not registered as actionable.

since the Pull Request event on GitHub sends many events we are not interested in:

> Pull request assigned, auto merge disabled, auto merge enabled, closed, converted to draft, demilestoned, dequeued, edited, enqueued, labeled, locked, milestoned, opened, ready for review, reopened, review request removed, review requested, synchronized, unassigned, unlabeled, or unlocked.

This causes floods of events in situations like python/cpython#132964 that we can skip processing for.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.