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
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 }}
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
37k
Star
77.4k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
symtable.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 23, 2026
gh-124697: Represent inlined comprehensions as subscopes in the symbol table (#156819)
iritkatriel
authored
a9d42dc
View commit details
Copy full SHA for a9d42dc
View code at this point
Browse repository at this point
Commits on Jul 17, 2026
gh-153844: Support AST input in symtable.symtable() (GH-153845)
Show description for 9d231cb
serhiy-storchaka
and
claude
authored
9d231cb
View commit details
Copy full SHA for 9d231cb
View code at this point
Browse repository at this point
Commits on May 9, 2026
gh-149530: Remove `symtable.Class.get_methods` deprecated method (#149531)
sobolevn
authored
46a2c11
View commit details
Copy full SHA for 46a2c11
View code at this point
Browse repository at this point
Commits on Mar 6, 2026
gh-141510: Use frozendict in the stdlib (#144909)
Show description for 349639c
vstinner
and
corona10
authored
349639c
View commit details
Copy full SHA for 349639c
View code at this point
Browse repository at this point
Commits on Jan 25, 2026
gh-143504: Expose CELL status of a symbol in symtable (#143549)
Yashp002
authored
a51bf70
View commit details
Copy full SHA for a51bf70
View code at this point
Browse repository at this point
Commits on Nov 13, 2025
gh-135801: Add the module parameter to compile() etc (GH-139652)
Show description for d8e6bdc
serhiy-storchaka
authored
d8e6bdc
View commit details
Copy full SHA for d8e6bdc
View code at this point
Browse repository at this point
Commits on Jul 13, 2025
gh-121914: Change the names of the symbol tables for lambda and genexpr (GH-135288)
Show description for da699ed
serhiy-storchaka
authored
da699ed
View commit details
Copy full SHA for da699ed
View code at this point
Browse repository at this point
Commits on Jul 22, 2024
gh-119698: deprecate ``symtable.Class.get_methods`` (#121902)
picnixz
authored
c09d4c4
View commit details
Copy full SHA for c09d4c4
View code at this point
Browse repository at this point
Commits on Jul 17, 2024
gh-119698: fix a special case in `symtable.Class.get_methods` (#121802)
picnixz
authored
6682d91
View commit details
Copy full SHA for 6682d91
View code at this point
Browse repository at this point
Commits on Jun 20, 2024
gh-119698: symtable: Fix merge race (#120779)
JelleZijlstra
authored
3846fcf
View commit details
Copy full SHA for 3846fcf
View code at this point
Browse repository at this point
gh-119698: fix `symtable.Class.get_methods` and document its behaviour correctly (#120151)
Show description for b8a8e04
picnixz
and
JelleZijlstra
authored
b8a8e04
View commit details
Copy full SHA for b8a8e04
View code at this point
Browse repository at this point
Commits on Jun 17, 2024
gh-119933: Improve ``SyntaxError`` message for invalid type parameters expressions (#119976)
Show description for 4bf17c3
picnixz
and
JelleZijlstra
authored
4bf17c3
View commit details
Copy full SHA for 4bf17c3
View code at this point
Browse repository at this point
Commits on Jun 13, 2024
gh-120417: Add #noqa to used imports in the stdlib (#120421)
Show description for 6ae254a
vstinner
authored
6ae254a
View commit details
Copy full SHA for 6ae254a
View code at this point
Browse repository at this point
Commits on Jun 12, 2024
gh-120029: make `symtable.Symbol.__repr__` correctly reflect the compiler's flags, add methods (#120099)
Show description for 755dab7
picnixz
and
carljm
authored
755dab7
View commit details
Copy full SHA for 755dab7
View code at this point
Browse repository at this point
Commits on Jun 11, 2024
gh-119180: PEP 649 compiler changes (#119361)
JelleZijlstra
authored
9b8611e
View commit details
Copy full SHA for 9b8611e
View code at this point
Browse repository at this point
Commits on Jun 4, 2024
gh-120029: export `DEF_TYPE_PARAM` compiler flag (#120028)
picnixz
authored
ff1857d
View commit details
Copy full SHA for ff1857d
View code at this point
Browse repository at this point
Commits on Nov 7, 2023
gh-85098: Implement functional CLI of symtable (#109112)
Show description for 70afb8d
serhiy-storchaka
and
pablogsal
authored
70afb8d
View commit details
Copy full SHA for 70afb8d
View code at this point
Browse repository at this point
Commits on Sep 29, 2023
gh-110045: Update symtable module for PEP 695 (#110066)
JelleZijlstra
authored
7dc2c50
View commit details
Copy full SHA for 7dc2c50
View code at this point
Browse repository at this point
Commits on Jun 11, 2022
Change list to view object (#93661)
pamelafox
authored
5d8e7a1
View commit details
Copy full SHA for 5d8e7a1
View code at this point
Browse repository at this point
Commits on Jul 18, 2021
bpo-42355: symtable.get_namespace() now checks whether there are multiple or any namespaces found (GH-23278)
isidentical
authored
a045991
View commit details
Copy full SHA for a045991
View code at this point
Browse repository at this point
Commits on Jun 13, 2021
Fix typos in multiple files (GH-26689)
Show description for 17b16e1
enjoy-binbin
and
terryjreedy
authored
17b16e1
View commit details
Copy full SHA for 17b16e1
View code at this point
Browse repository at this point
Commits on Oct 3, 2020
bpo-41840: Report module-level globals as both local and global in the symtable module (GH-22391)
pablogsal
authored
fb0a465
View commit details
Copy full SHA for fb0a465
View code at this point
Browse repository at this point
Commits on Jul 7, 2020
bpo-41224: Document is_annotated() in symtable module and update doc strings (GH-21369)
Show description for a95ac77
nanjekyejoannah
and
pablogsal
authored
a95ac77
View commit details
Copy full SHA for a95ac77
View code at this point
Browse repository at this point
Commits on Apr 13, 2020
bpo-40208: Remove deprecated has_exec method of SymbolTable (GH-19396)
isidentical
authored
990ea42
View commit details
Copy full SHA for 990ea42
View code at this point
Browse repository at this point
Commits on Apr 6, 2020
bpo-40196: Fix a bug in the symtable when reporting inspecting global variables (GH-19391)
pablogsal
authored
799d7d6
View commit details
Copy full SHA for 799d7d6
View code at this point
Browse repository at this point
Commits on Oct 20, 2018
bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module (GH-9872)
Show description for d5b4f1b
pablogsal
authored
d5b4f1b
View commit details
Copy full SHA for d5b4f1b
View code at this point
Browse repository at this point
Commits on May 18, 2017
bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)
Show description for 3972628
jdufresne
authored and
rhettinger
committed
3972628
View commit details
Copy full SHA for 3972628
View code at this point
Browse repository at this point
Commits on Sep 9, 2016
Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.
Show description for f8cb8a1
Yury Selivanov
committed
f8cb8a1
View commit details
Copy full SHA for f8cb8a1
View code at this point
Browse repository at this point
Commits on Apr 28, 2015
remove the concept of an unoptimized function scope from the compiler, since it can't happen anymore
benjaminp
committed
1dfd247
View commit details
Copy full SHA for 1dfd247
View code at this point
Browse repository at this point
Commits on Oct 26, 2013
merge 3.3 (#19393)
benjaminp
committed
7735366
View commit details
Copy full SHA for 7735366
View code at this point
Browse repository at this point
just return toplevel symbol table rather than all blocks (closes #19393)
benjaminp
committed
89d8cd9
View commit details
Copy full SHA for 89d8cd9
View code at this point
Browse repository at this point
Commits on Feb 12, 2013
modernize some modules' code by using with statement around open()
giampaolo
committed
2f50aaf
View commit details
Copy full SHA for 2f50aaf
View code at this point
Browse repository at this point
Commits on Jun 28, 2009
simplify this expression
benjaminp
committed
500c6ef
View commit details
Copy full SHA for 500c6ef
View code at this point
Browse repository at this point
Merged revisions 73376,73393,73398,73400,73404-73405,73409,73419-73421,73432,73457,73460,73485-73486,73488-73489,73501-73502,73513-73514 via svnmerge from
Show description for 78565b2
benjaminp
committed
78565b2
View commit details
Copy full SHA for 78565b2
View code at this point
Browse repository at this point
Commits on Mar 31, 2009
Merged revisions 70801,70809 via svnmerge from
Show description for f37708e
jeremyhylton
committed
f37708e
View commit details
Copy full SHA for f37708e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.