Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Python
Python-tokenize.c
on
3.12
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 12, 2024
[3.12] gh-120343: Fix column offsets of multiline tokens in tokenize (GH-120391) (#120428)
Show description for f75abf8
miss-islington
and
lysnikolaou
authored
f75abf8
View commit details
Copy full SHA for f75abf8
View code at this point
Browse repository at this point
Commits on Jun 11, 2024
[3.12] gh-120343: Do not reset byte_col_offset_diff after multiline tokens (GH-120352) (#120356)
Show description for 0315fdc
3 people
authored
0315fdc
View commit details
Copy full SHA for 0315fdc
View code at this point
Browse repository at this point
Commits on May 29, 2024
[3.12] gh-119704: Fix reference leak in the ``Python/Python-tokenize.c`` (GH-119705) (#119708)
miss-islington
authored
a62681c
View commit details
Copy full SHA for a62681c
View code at this point
Browse repository at this point
Commits on May 28, 2024
[3.12] gh-119118: Fix performance regression in tokenize module (GH-119615) (#119683)
Show description for 4a0af0c
3 people
authored
4a0af0c
View commit details
Copy full SHA for 4a0af0c
View code at this point
Browse repository at this point
Commits on Dec 11, 2023
[3.12] gh-112943: Correctly compute end offsets for multiline tokens in the tokenize module (GH-112949) (#112957)
Show description for e4d2fb2
pablogsal
authored
e4d2fb2
View commit details
Copy full SHA for e4d2fb2
View code at this point
Browse repository at this point
Commits on Jun 9, 2023
[3.12] gh-105564: Don't include artificial newlines in the line attribute of tokens (GH-105565) (#105579)
Show description for 16b1cdc
miss-islington
and
pablogsal
authored
16b1cdc
View commit details
Copy full SHA for 16b1cdc
View code at this point
Browse repository at this point
Commits on Jun 7, 2023
[3.12] gh-105390: Add explicit type cast (GH-105466) (#105472)
miss-islington
authored
3d4a786
View commit details
Copy full SHA for 3d4a786
View code at this point
Browse repository at this point
[3.12] gh-105435: Fix spurious NEWLINE token if file ends with comment without a newline (GH-105442) (#105444)
miss-islington
authored
117c153
View commit details
Copy full SHA for 117c153
View code at this point
Browse repository at this point
[3.12] gh-105390: Correctly raise TokenError instead of SyntaxError for tokenize errors (GH-105399) (#105439)
miss-islington
authored
c84d4d1
View commit details
Copy full SHA for c84d4d1
View code at this point
Browse repository at this point
Commits on Jun 6, 2023
[3.12] gh-105259: Ensure we don't show newline characters for trailing NEWLINE tokens (GH-105364) (#105367)
miss-islington
authored
67b288f
View commit details
Copy full SHA for 67b288f
View code at this point
Browse repository at this point
Commits on May 31, 2023
[3.12] gh-105069: Add a readline-like callable to the tokenizer to consume input iteratively (GH-105070) (#105119)
Show description for c687946
miss-islington
and
pablogsal
authored
c687946
View commit details
Copy full SHA for c687946
View code at this point
Browse repository at this point
[3.12] gh-105042: Disable unmatched parens syntax error in python tokenize (GH-105061) (#105120)
Show description for 2f8c22f
miss-islington
and
lysnikolaou
authored
2f8c22f
View commit details
Copy full SHA for 2f8c22f
View code at this point
Browse repository at this point
Commits on May 28, 2023
[3.12] gh-105017: Include CRLF lines in strings and column numbers (GH-105030) (#105041)
Show description for 3f8d5d9
3 people
authored
3f8d5d9
View commit details
Copy full SHA for 3f8d5d9
View code at this point
Browse repository at this point
Commits on May 26, 2023
[3.12] gh-104976: Ensure trailing dedent tokens are emitted as the previous tokenizer (GH-104980) (#105000)
miss-islington
authored
2c02c68
View commit details
Copy full SHA for 2c02c68
View code at this point
Browse repository at this point
[3.12] gh-104972: Ensure that line attributes in tokens in the tokenize module are correct (GH-104975) (#104982)
Show description for 8ca2957
miss-islington
and
pablogsal
authored
8ca2957
View commit details
Copy full SHA for 8ca2957
View code at this point
Browse repository at this point
Commits on May 24, 2023
[3.12] gh-104825: Remove implicit newline in the line attribute in tokens emitted in the tokenize module (GH-104846). (#104850)
Show description for 3d2ed89
pablogsal
authored
3d2ed89
View commit details
Copy full SHA for 3d2ed89
View code at this point
Browse repository at this point
Commits on May 22, 2023
gh-104741: Add line number attribute to indentation error exception (#104743)
mgmacias95
authored
729b252
View commit details
Copy full SHA for 729b252
View code at this point
Browse repository at this point
gh-102856: Tokenize performance improvement (#104731)
mgmacias95
authored
8817886
View commit details
Copy full SHA for 8817886
View code at this point
Browse repository at this point
Commits on May 21, 2023
gh-102856: Python tokenizer implementation for PEP 701 (#104323)
Show description for 6715f91
mgmacias95
and
pablogsal
authored
6715f91
View commit details
Copy full SHA for 6715f91
View code at this point
Browse repository at this point
Commits on May 5, 2023
gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-104205)
Show description for a9c6e06
ericsnowcurrently
authored
a9c6e06
View commit details
Copy full SHA for a9c6e06
View code at this point
Browse repository at this point
Commits on Apr 19, 2023
gh-102856: Initial implementation of PEP 701 (#102855)
Show description for 1ef61cf
5 people
authored
1ef61cf
View commit details
Copy full SHA for 1ef61cf
View code at this point
Browse repository at this point
Commits on Oct 6, 2022
gh-97973: Return all necessary information from the tokenizer (GH-97984)
Show description for cbf0afd
lysnikolaou
authored
cbf0afd
View commit details
Copy full SHA for cbf0afd
View code at this point
Browse repository at this point
Commits on Aug 11, 2022
gh-90928: Statically Initialize the Keywords Tuple in Clinic-Generated Code (gh-95860)
Show description for 6f6a4e6
ericsnowcurrently
authored
6f6a4e6
View commit details
Copy full SHA for 6f6a4e6
View code at this point
Browse repository at this point
Commits on Feb 11, 2022
bpo-46613: Add PyType_GetModuleByDef to the public API (GH-31081)
Show description for 2049469
encukou
and
vstinner
authored
2049469
View commit details
Copy full SHA for 2049469
View code at this point
Browse repository at this point
Commits on Oct 13, 2021
bpo-45434: Mark the PyTokenizer C API as private (GH-28924)
Show description for 713bb19
vstinner
authored
713bb19
View commit details
Copy full SHA for 713bb19
View code at this point
Browse repository at this point
Commits on Oct 3, 2021
Remove trailing spaces. (GH-28706)
serhiy-storchaka
authored
a5a5615
View commit details
Copy full SHA for a5a5615
View code at this point
Browse repository at this point
Commits on Aug 25, 2021
Format the Python-tokenize module and fix exit path (GH-27935)
pablogsal
authored
214c2e5
View commit details
Copy full SHA for 214c2e5
View code at this point
Browse repository at this point
Commits on Aug 24, 2021
Add tests for the C tokenizer and expose it as a private module (GH-27924)
pablogsal
authored
a24676b
View commit details
Copy full SHA for a24676b
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.