Skip to content

[pull] main from python:main#1242

Merged
pull[bot] merged 3 commits into
tj-python:mainfrom
python:main
Jul 6, 2026
Merged

[pull] main from python:main#1242
pull[bot] merged 3 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Jul 6, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

EoinTrial and others added 3 commits July 6, 2026 09:44
…b()` docs (#148768)

Co-authored-by: Stan Ulbrych <stan@python.org>
…tor in more positions (GH-153175)

Move the invalid_factor rule from term to factor and the
invalid_arithmetic rule from shift_expr to sum, so that they are
tried at all positions where the invalid construct can occur.
Previously a generic "invalid syntax" error was reported for
constructs like "1 << 2 + not x" or "1 * + not x".

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Jul 6, 2026
@pull pull Bot added the ⤵️ pull label Jul 6, 2026
@pull pull Bot merged commit 1034e73 into tj-python:main Jul 6, 2026
@pull pull Bot added the ⤵️ pull label Jul 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants