Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Discover and integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
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
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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
33.3k
Star
69.7k
Code
Issues
5k+
Pull requests
2.1k
Actions
Projects
28
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Branch selector
main
User selector
ericvsmith
Datepicker
All time
Commit History
Commits on May 27, 2025
gh-134752: Improve speed of test_tokenize.StringPrefixTest.test_prefixes. (#134766)
ericvsmith
authored
579686d
Copy full SHA for 579686d
Commits on May 26, 2025
gh-134675: Add t-string prefixes to tokenizer module, lexical analysis doc, and add a test to make sure we catch this error in the future. (#134734)
Show description for 08c78e0
ericvsmith
authored
08c78e0
Copy full SHA for 08c78e0
Commits on Sep 25, 2024
gh-90562: Support zero argument super with dataclasses when slots=True (gh-124455)
Show description for 5c6e3b7
ericvsmith
and
carljm
authored
5c6e3b7
Copy full SHA for 5c6e3b7
Commits on Mar 25, 2024
gh-109870: Dataclasses: batch up exec calls (gh-110851)
Show description for 8945b7f
ericvsmith
authored
8945b7f
Copy full SHA for 8945b7f
Commits on Aug 10, 2023
gh-107838: In dataclasses, improve error message when a non-default field follows a default field. (gh-107842)
Show description for e4275f4
ericvsmith
authored
e4275f4
Copy full SHA for e4275f4
Commits on Jun 1, 2022
gh-93418: Fix an assert when an f-string expression is followed by an '=', but no closing brace. (gh-93419)
ericvsmith
authored
ee70c70
Copy full SHA for ee70c70
Commits on May 2, 2022
Add weakref_slot to dataclass decorator, to allow instances with slots to be weakref-able. (#92160)
ericvsmith
authored
5f9c0f5
Copy full SHA for 5f9c0f5
Commits on Feb 23, 2022
bpo-46757: Add a test to verify dataclass's __post_init__ isn't being automatically added. (GH-31523)
ericvsmith
authored
288af84
Copy full SHA for 288af84
Commits on Feb 16, 2022
bpo-46762: Fix an assert failure in f-strings where > or < is the last character if the f-string is missing a trailing right brace. (#31365)
ericvsmith
authored
ffd9f8f
Copy full SHA for ffd9f8f
Commits on Jan 25, 2022
bpo-46503: Prevent an assert from firing when parsing some invalid \N sequences in f-strings. (GH-30865)
Show description for 0daf721
ericvsmith
authored
0daf721
Copy full SHA for 0daf721
Commits on Dec 11, 2021
bpo-44674: Use unhashability as a proxy for mutability for default dataclass __init__ arguments. (GH-29867)
Show description for e029c53
ericvsmith
authored
e029c53
Copy full SHA for e029c53
Commits on Nov 22, 2021
bpo-44649: Fix dataclasses(slots=True) with a field with a default, but init=False (GH-29692)
Show description for d3062f6
ericvsmith
authored
d3062f6
Copy full SHA for d3062f6
Commits on Nov 20, 2021
Added kw_only parameter to make_dataclasses. (GH-29679)
ericvsmith
authored
f7638dd
Copy full SHA for f7638dd
Commits on Oct 21, 2021
bpo-45557: Fix underscore_numbers in pprint.pprint(). (GH-29129)
ericvsmith
authored
087f089
Copy full SHA for 087f089
Commits on Sep 4, 2021
Add What's New for dataclass keyword-only parameters. (GH-28158)
ericvsmith
authored
a1ba359
Copy full SHA for a1ba359
Commits on May 9, 2021
Fix a word in dataclasses docs. (GH-26003)
ericvsmith
authored
801497a
Copy full SHA for 801497a
Commits on May 3, 2021
bpo-44015: dataclasses should allow KW_ONLY to be specified only once per class (GH-25841)
Show description for 99ad742
ericvsmith
authored
99ad742
Copy full SHA for 99ad742
dataclasses docs: add a missing word. (GH-25839)
ericvsmith
authored
72720a2
Copy full SHA for 72720a2
More clarification of kw_only args. (GH-25838)
Show description for a21b3d2
ericvsmith
authored
a21b3d2
Copy full SHA for a21b3d2
More work on documenting dataclass keyword-only fields. (GH-25828)
ericvsmith
authored
821f0c8
Copy full SHA for 821f0c8
Commits on May 2, 2021
Minor tweaks to dataclasses keyword-only fields documentation. (GH-25801)
ericvsmith
authored
318ca17
Copy full SHA for 318ca17
Commits on May 1, 2021
Improve the dataclasses kw_only documentation. (GH-25799)
ericvsmith
authored
2f59a76
Copy full SHA for 2f59a76
If using a frozen class with slots, add __getstate__ and __setstate__ to set the instance values. (GH-25786)
ericvsmith
authored
823fbf4
Copy full SHA for 823fbf4
Commits on Apr 26, 2021
Add additional keyword-only tests. (GH-25633)
ericvsmith
authored
94549ee
Copy full SHA for 94549ee
Add keyword-only fields to dataclasses. (GH=25608)
ericvsmith
authored
c028053
Copy full SHA for c028053
Commits on Apr 17, 2021
Fix typo in a dataclasses comment. (GH-25454)
ericvsmith
authored
76beadb
Copy full SHA for 76beadb
Commits on Apr 13, 2021
Remove an unnecessary copy of the 'namespace' parameter to make_dataclass(). (GH-25372)
ericvsmith
authored
c1a66bd
Copy full SHA for c1a66bd
Commits on Apr 11, 2021
bpo-43764: Add match_args=False parameter to dataclass decorator and to make_dataclasses function. (GH-25337)
Show description for 750f484
ericvsmith
authored
750f484
Copy full SHA for 750f484
Commits on Apr 6, 2021
Fix blurb for bpo-43176. (GH-25215)
ericvsmith
authored
1744c96
Copy full SHA for 1744c96
Commits on Jul 16, 2020
Fix trivial typo in the PEG string parser (GH-21508)
ericvsmith
authored
0275e04
Copy full SHA for 0275e04
Commits on Aug 20, 2019
bpo-37868: Improve is_dataclass for instances. (GH-15325)
ericvsmith
authored
b0f4dab
Copy full SHA for b0f4dab
Commits on Jun 20, 2019
Fix bpo number in News file. (GH-14260)
ericvsmith
authored
0c48618
Copy full SHA for 0c48618
Commits on May 29, 2019
bpo-37070: Cleanup fstring debug handling (GH-13607)
Show description for f83d1db
ericvsmith
authored
f83d1db
Copy full SHA for f83d1db
Commits on May 27, 2019
bpo-37050: Remove expr_text from FormattedValue ast node, use Constant node instead (GH-13597)
Show description for 6f6ff8a
ericvsmith
authored
6f6ff8a
Copy full SHA for 6f6ff8a
Commits on May 8, 2019
bpo-36817: Add f-string debugging using '='. (GH-13123)
Show description for 9a4135e
ericvsmith
authored
9a4135e
Copy full SHA for 9a4135e
Pagination
Previous
Next
You can’t perform that action at this time.