Repository navigation
gh-134674: fix: ast.MatchStar.name incorrectly having class-level default value - #134676
Closed
hunterhogan wants to merge 2314 commits into
Closed
hunterhogan wants to merge 2314 commits into
hunterhogan wants to merge 2314 commits into
Conversation
…unctions (GH-113575) (#132437) gh-58211: Add tests for the `__self__` attribute of builtins functions (GH-113575) --------- (cherry picked from commit 891465f) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…GH-132503) (cherry picked from commit 887eabc)
…H-132497) Now all protocols always accept the Bluetooth address as string and getsockname() always returns the Bluetooth address as string. * BTPROTO_SCO now accepts not only bytes, but str. * BTPROTO_SCO now checks address for embedded null. * On *BSD, BTPROTO_HCI now accepts str instead of bytes. * On FreeBSD, getsockname() for BTPROTO_HCI now returns str instead of bytes. * On NetBSD and DragonFly BSD, BTPROTO_HCI now checks address for embedded null. (cherry picked from commit 1fc1df8)
…ZoneInfo` (GH-114731) (#132563) gh-114713: Handle case of an empty string passed to `zoneinfo.ZoneInfo` (GH-114731) (cherry picked from commit 884df11) Co-authored-by: Bogdan Romanyuk <65823030+wrongnull@users.noreply.github.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
…GH-132567) (#132573) Docs: Synchronise ``indexsidebar.html`` with docsbuild-scripts (GH-132567) (cherry picked from commit 4f10b93) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
) (#132603) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
hunterhogan
requested review from
1st1,
Fidget-Spinner,
ambv,
asvetlov,
brandtbucher,
carljm,
corona10,
iritkatriel,
methane,
picnixz,
savannahostrowski,
serhiy-storchaka,
tiran and
vsajip
as code owners
May 25, 2025 21:51
Member
|
It looks like you tried to merge 3.13 into your local main branch. Unfortunately, every single codeowner will get a ping in their inbox for activity here (even if the rebase is fixed), so I'm going to close this. Would you mind opening a fresh PR? |
AlexWaygood
removed their request for review
May 25, 2025 22:28
ZeroIntensity
removed request for
AA-Turner,
ammaraskar,
brettcannon,
ericsnowcurrently,
freakboy3742,
hugovk,
jaraco,
kumaraditya303,
mhsmith,
sethmlarson and
willingc
May 25, 2025 23:25
This was referenced May 25, 2025
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes gh-134674
Problem
ast.MatchStar.nameincorrectly appears to have a class-level default value when usingast.dump(). The issue causesast.MatchStar(name=None)to display asMatchStar()instead of the expectedMatchStar(name=None).Solution
Change the ASDL definition of
MatchStar, and addMatchStarto the special cases list inast.dump()alongsideConstantandMatchSingleton.📚 Documentation preview 📚: https://cpython-previews--134676.org.readthedocs.build/