FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-128509: Use bytes singletons in marshal (GH-157398) by miss-islington · Pull Request #157432 · python/cpython · GitHub

Repository navigation

[3.14] gh-128509: Use bytes singletons in marshal (GH-157398) - #157432

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-658612a-3.14
Sep 13, 2026
Merged

vstinner merged 1 commit into
python:3.14from
miss-islington:backport-658612a-3.14

Conversation

miss-islington commented Sep 13, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Replace soft deprecated PyBytes_FromStringAndSize(NULL, n) with
PyBytes_FromStringAndSize(str, n) so marshal can get bytes singleton.
(cherry picked from commit 658612a)

Co-authored-by: Victor Stinner vstinner@python.org

Replace soft deprecated PyBytes_FromStringAndSize(NULL, n) with
PyBytes_FromStringAndSize(str, n) so marshal can get bytes singleton.
(cherry picked from commit 658612a)

Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner enabled auto-merge (squash) September 13, 2026 14:18
vstinner merged commit c348765 into python:3.14 Sep 13, 2026
51 checks passed
miss-islington deleted the backport-658612a-3.14 branch September 13, 2026 14:45
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL