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 }}
partev
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Python
Python-tokenize.c
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 26, 2023
gh-107015: Remove async_hacks from the tokenizer (#107018)
pablogsal
authored
da8f87b
View commit details
Copy full SHA for da8f87b
View code at this point
Browse repository at this point
Commits on Jun 9, 2023
gh-105564: Don't include artificial newlines in the line attribute of tokens (#105565)
pablogsal
authored
d7f46bc
View commit details
Copy full SHA for d7f46bc
View code at this point
Browse repository at this point
Commits on Jun 7, 2023
gh-105390: Add explicit type cast (#105466)
Eclips4
authored
264a011
View commit details
Copy full SHA for 264a011
View code at this point
Browse repository at this point
gh-105435: Fix spurious NEWLINE token if file ends with comment without a newline (#105442)
pablogsal
authored
7279fb6
View commit details
Copy full SHA for 7279fb6
View code at this point
Browse repository at this point
gh-105390: Correctly raise TokenError instead of SyntaxError for tokenize errors (#105399)
pablogsal
authored
ffd2654
View commit details
Copy full SHA for ffd2654
View code at this point
Browse repository at this point
Commits on Jun 6, 2023
gh-105259: Ensure we don't show newline characters for trailing NEWLINE tokens (#105364)
pablogsal
authored
c0a6ed3
View commit details
Copy full SHA for c0a6ed3
View code at this point
Browse repository at this point
Commits on May 30, 2023
gh-105042: Disable unmatched parens syntax error in python tokenize (#105061)
lysnikolaou
authored
70f315c
View commit details
Copy full SHA for 70f315c
View code at this point
Browse repository at this point
gh-105069: Add a readline-like callable to the tokenizer to consume input iteratively (#105070)
pablogsal
authored
9216e69
View commit details
Copy full SHA for 9216e69
View code at this point
Browse repository at this point
Commits on May 28, 2023
gh-105017: Include CRLF lines in strings and column numbers (#105030)
Show description for 96fff35
mgmacias95
and
pablogsal
authored
96fff35
View commit details
Copy full SHA for 96fff35
View code at this point
Browse repository at this point
Commits on May 26, 2023
gh-104976: Ensure trailing dedent tokens are emitted as the previous tokenizer (#104980)
Show description for 46b52e6
pablogsal
authored
46b52e6
View commit details
Copy full SHA for 46b52e6
View code at this point
Browse repository at this point
gh-104972: Ensure that line attributes in tokens in the tokenize module are correct (#104975)
pablogsal
authored
3fdb55c
View commit details
Copy full SHA for 3fdb55c
View code at this point
Browse repository at this point
Commits on May 24, 2023
gh-104825: Remove implicit newline in the line attribute in tokens emitted in the tokenize module (#104846)
pablogsal
authored
c8cf9b4
View commit details
Copy full SHA for c8cf9b4
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.