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.3k
Star
74.7k
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
Commits
Breadcrumbs
History for
cpython
Lib
traceback.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 15, 2026
gh-151128: Improve SyntaxError message for cross language keywords (GH-151129)
zang-langyan
authored
5ea1e90
View commit details
Copy full SHA for 5ea1e90
View code at this point
Browse repository at this point
Commits on May 25, 2026
gh-145896: Fix typos and stale docstrings in the traceback module (GH-145897)
devdanzin
authored
832afed
View commit details
Copy full SHA for 832afed
View code at this point
Browse repository at this point
Commits on May 20, 2026
gh-146406: add clear() cross-language hint for immutable types (GH-149927)
mvanhorn
authored
d948eaa
View commit details
Copy full SHA for d948eaa
View code at this point
Browse repository at this point
Commits on May 6, 2026
gh-144384: Lazily import `_colorize` (#149318)
hugovk
authored
7cea70e
View commit details
Copy full SHA for 7cea70e
View code at this point
Browse repository at this point
Commits on May 4, 2026
gh-146406: Add cross-language method suggestions for builtin AttributeError (#146407)
Show description for 7acee98
3 people
authored
7acee98
View commit details
Copy full SHA for 7acee98
View code at this point
Browse repository at this point
Commits on Apr 7, 2026
gh-130273: Fix traceback color output with unicode characters (GH-142529)
Show description for dfeb160
3 people
authored
dfeb160
View commit details
Copy full SHA for dfeb160
View code at this point
Browse repository at this point
Commits on Mar 22, 2026
gh-140049: Colorize exception notes in `traceback.py` (#140051)
Show description for f0aeabc
StanFromIreland
and
hugovk
authored
f0aeabc
View commit details
Copy full SHA for f0aeabc
View code at this point
Browse repository at this point
Commits on Mar 20, 2026
gh-146171: Fix nested AttributeError suggestions (#146188)
pablogsal
authored
2f4eb34
View commit details
Copy full SHA for 2f4eb34
View code at this point
Browse repository at this point
Commits on Mar 11, 2026
gh-139933: correctly suggest attributes for classes with a custom `__dir__` (GH-139950)
Show description for 4722202
picnixz
and
ambv
authored
4722202
View commit details
Copy full SHA for 4722202
View code at this point
Browse repository at this point
Commits on Feb 25, 2026
GH-145006: add ModuleNotFoundError hints when a module for a differen… (#145007)
Show description for 1ac9d13
FFY00
authored
1ac9d13
View commit details
Copy full SHA for 1ac9d13
View code at this point
Browse repository at this point
Commits on Feb 19, 2026
GH-134872: add ModuleNotFoundError suggestions (#142512)
Show description for f282f7a
FFY00
authored
f282f7a
View commit details
Copy full SHA for f282f7a
View code at this point
Browse repository at this point
Commits on Feb 12, 2026
gh-144285: Improve `AttributeError` attribute suggestions (#144299)
johnslavik
authored
b6b72e7
View commit details
Copy full SHA for b6b72e7
View code at this point
Browse repository at this point
gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)
Show description for 46d5106
4 people
authored
46d5106
View commit details
Copy full SHA for 46d5106
View code at this point
Browse repository at this point
Commits on Feb 4, 2026
gh-143962: Improve name suggestions for not normalized names (GH-144154)
Show description for dd0fde5
serhiy-storchaka
authored
dd0fde5
View commit details
Copy full SHA for dd0fde5
View code at this point
Browse repository at this point
Commits on Dec 11, 2025
gh-142539: Fix `traceback` caret location calculation for `SyntaxError`s with wide chars (#142540)
StanFromIreland
authored
b52e8ce
View commit details
Copy full SHA for b52e8ce
View code at this point
Browse repository at this point
Commits on Dec 6, 2025
gh-142236: Fix incorrect keyword suggestions for syntax errors (#142328)
Show description for ed4f78a
pablogsal
authored
ed4f78a
View commit details
Copy full SHA for ed4f78a
View code at this point
Browse repository at this point
Commits on Dec 1, 2025
gh-139707: Add mechanism for distributors to supply error messages for missing stdlib modules (GH-140783)
StanFromIreland
authored
d4fa707
View commit details
Copy full SHA for d4fa707
View code at this point
Browse repository at this point
Commits on Oct 21, 2025
gh-139707: Better `ModuleNotFoundError` message for missing stdlib modules (GH-140219)
StanFromIreland
authored
47d2f68
View commit details
Copy full SHA for 47d2f68
View code at this point
Browse repository at this point
Commits on Sep 28, 2025
gh-139374: colorize traceback when using `timeit` command-line interface (#139375)
Show description for e18dda9
5 people
authored
e18dda9
View commit details
Copy full SHA for e18dda9
View code at this point
Browse repository at this point
Commits on Aug 21, 2025
gh-137967: Restore suggestions on nested attribute access (#137968)
pablogsal
authored
539a4ca
View commit details
Copy full SHA for 539a4ca
View code at this point
Browse repository at this point
Commits on Aug 15, 2025
gh-137078: Fix keyword typo recognition when executed over files (#137079)
pablogsal
authored
4e08a9f
View commit details
Copy full SHA for 4e08a9f
View code at this point
Browse repository at this point
Commits on Aug 14, 2025
gh-137576: Fix for Basic REPL showing incorrect code in tracebacks with `PYTHONSTARTUP` (#137625)
Show description for 04f8ef6
adqm
and
Eclips4
authored
04f8ef6
View commit details
Copy full SHA for 04f8ef6
View code at this point
Browse repository at this point
Commits on Aug 4, 2025
gh-134170: Add colorization to unraisable exceptions (#134183)
Show description for e8251dc
3 people
authored
e8251dc
View commit details
Copy full SHA for e8251dc
View code at this point
Browse repository at this point
Commits on Jul 20, 2025
gh-127598: Improve ModuleNotFoundError when -S is passed (GH-136821)
MonadChains
authored
18a7f5d
View commit details
Copy full SHA for 18a7f5d
View code at this point
Browse repository at this point
Commits on Jul 16, 2025
fix traceback.FrameSummary docstring by adding end_lineno, colno, and end_colno (#136716)
olehermanse
authored
180b3eb
View commit details
Copy full SHA for 180b3eb
View code at this point
Browse repository at this point
Commits on Jun 2, 2025
gh-130999: Avoid exiting the new REPL when there are non-string candidates for suggestions (gh-131001)
devdanzin
authored
baccfdb
View commit details
Copy full SHA for baccfdb
View code at this point
Browse repository at this point
Commits on May 5, 2025
gh-133346: Make theming support in _colorize extensible (GH-133347)
Show description for f610bbd
ambv
and
hugovk
authored
f610bbd
View commit details
Copy full SHA for f610bbd
View code at this point
Browse repository at this point
Commits on May 2, 2025
gh-132385: Fix instance error suggestions trigger potential exceptions in `traceback` (#132387)
sobolevn
authored
641253c
View commit details
Copy full SHA for 641253c
View code at this point
Browse repository at this point
Commits on Apr 23, 2025
gh-132449: Improve the algorithm to detect typos in keywords (#132837)
pablogsal
authored
32c4bbe
View commit details
Copy full SHA for 32c4bbe
View code at this point
Browse repository at this point
Commits on Apr 22, 2025
gh-132449: Improve syntax error messages for keywords with typos (#132450)
Show description for bf3a0a1
pablogsal
and
ambv
authored
bf3a0a1
View commit details
Copy full SHA for bf3a0a1
View code at this point
Browse repository at this point
Commits on Apr 19, 2025
gh-132308: prevent `TracebackException` swallowing attributes of a falsey `Exception` or `ExceptionGroup` (#132363)
YvesDup
authored
69cda31
View commit details
Copy full SHA for 69cda31
View code at this point
Browse repository at this point
Commits on Mar 10, 2025
gh-117174: Add a new route in linecache to fetch interactive source code (#117500)
pablogsal
authored
a931a8b
View commit details
Copy full SHA for a931a8b
View code at this point
Browse repository at this point
Commits on Feb 19, 2025
gh-130250: fix regression in traceback.print_last (#130318)
iritkatriel
authored
6c982ae
View commit details
Copy full SHA for 6c982ae
View code at this point
Browse repository at this point
Commits on Feb 13, 2025
gh-96092: Fix traceback.walk_stack(None) skipping too many frames (#129330)
Show description for f9a7d41
ammaraskar
authored
f9a7d41
View commit details
Copy full SHA for f9a7d41
View code at this point
Browse repository at this point
Commits on Jan 22, 2025
gh-128894: Fix `TracebackException._format_syntax_error` on custom `SyntaxError` metadata (#128946)
sobolevn
authored
a16ded1
View commit details
Copy full SHA for a16ded1
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.