Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.4k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-129858: Special syntax error for
elif
block after
else
- #129902
#129902
Merged
pablogsal
merged 12 commits into
python:main
python/cpython:main
from
swfarnsworth:elif-error-message
swfarnsworth/cpython:elif-error-message
Copy head branch name to clipboard
Apr 25, 2025
Conversation
Commits
12
(12)
Checks
Files changed
Merged
gh-129858: Special syntax error for
elif
block after
else
#129902
pablogsal
merged 12 commits into
python:main
python/cpython:main
from
swfarnsworth:elif-error-message
swfarnsworth/cpython:elif-error-message
Copy head branch name to clipboard
Commits
Commits on Feb 8, 2025
Special syntax error for `elif` block after `else`
Show description for 883ada9
swfarnsworth
committed
883ada9
View commit details
Copy full SHA for 883ada9
Browse repository at this point
Commits on Feb 12, 2025
Change elif-after-else error wording to mirror patma errors
swfarnsworth
committed
fe17ada
View commit details
Copy full SHA for fe17ada
Browse repository at this point
Test for special syntax error for elif following else
swfarnsworth
committed
345964a
View commit details
Copy full SHA for 345964a
Browse repository at this point
📜🤖 Added by blurb_it.
blurb-it[bot]
authored
bf777a2
View commit details
Copy full SHA for bf777a2
Browse repository at this point
Commits on Feb 13, 2025
gh-129902: move code example from blurb_it to whatsnew rst.
swfarnsworth
committed
49b41b7
View commit details
Copy full SHA for 49b41b7
Browse repository at this point
Merge branch 'main' into elif-error-message
hugovk
authored
e1333c1
View commit details
Copy full SHA for e1333c1
Browse repository at this point
Commits on Feb 14, 2025
Update Misc/NEWS.d/next/Core_and_Builtins/2025-02-12-01-36-13.gh-issue-129858.M-f7Gb.rst
Show description for 116d785
swfarnsworth
and
hugovk
authored
116d785
View commit details
Copy full SHA for 116d785
Browse repository at this point
Update Doc/whatsnew/3.14.rst
Show description for dee5f1e
swfarnsworth
and
hugovk
authored
dee5f1e
View commit details
Copy full SHA for dee5f1e
Browse repository at this point
Merge branch 'main' into elif-error-message
swfarnsworth
authored
090f7e1
View commit details
Copy full SHA for 090f7e1
Browse repository at this point
Commits on Feb 15, 2025
\`\`elif\`\` -> :keyword:\`elif\`
swfarnsworth
authored
ab2224c
View commit details
Copy full SHA for ab2224c
Browse repository at this point
Commits on Apr 19, 2025
Overwrite parser.c with current main; this version of the parser does not implement changes from this PR.
swfarnsworth
committed
6ca3def
View commit details
Copy full SHA for 6ca3def
Browse repository at this point
Commits on Apr 22, 2025
Recompile parser with updated elif-after-else error message
swfarnsworth
committed
384c876
View commit details
Copy full SHA for 384c876
Browse repository at this point
You can’t perform that action at this time.