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
Type
/
to 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.2k
Star
74.2k
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
bpo-14935: Remove static state from the _csv module
- #23224
#23224
Merged
encukou
merged 12 commits into
python:master
python/cpython:master
from
encukou:pep-573-walker-and-csv
encukou/cpython:pep-573-walker-and-csv
Copy head branch name to clipboard
Dec 15, 2020
Conversation
Commits
12
(12)
Checks
Files changed
Merged
bpo-14935: Remove static state from the _csv module
#23224
encukou
merged 12 commits into
python:master
python/cpython:master
from
encukou:pep-573-walker-and-csv
encukou/cpython:pep-573-walker-and-csv
Copy head branch name to clipboard
Commits
Commits on Nov 10, 2020
Remove static state from the _csv module
Show description for a2a0e6f
4 people
committed
a2a0e6f
View commit details
Copy full SHA for a2a0e6f
Browse repository at this point
Use PyModule_AddObjectRef and PyTuple_Pack
encukou
committed
09802b2
View commit details
Copy full SHA for 09802b2
Browse repository at this point
Commits on Nov 13, 2020
Rename m_state to module_state
encukou
committed
1665ac7
View commit details
Copy full SHA for 1665ac7
Browse repository at this point
Use Py_CLEAR rather than Py_XDECREF
encukou
committed
23f844a
View commit details
Copy full SHA for 23f844a
Browse repository at this point
Use `module` rather than `m`
encukou
committed
8d1f95d
View commit details
Copy full SHA for 8d1f95d
Browse repository at this point
Factor out calling _PyType_GetModuleByDef & PyModule_GetState
encukou
committed
2c60895
View commit details
Copy full SHA for 2c60895
Browse repository at this point
Set freed pointers to NULL
encukou
committed
e69d0a1
View commit details
Copy full SHA for e69d0a1
Browse repository at this point
Only call get_csv_state up to once per function
encukou
committed
fb93e7f
View commit details
Copy full SHA for fb93e7f
Browse repository at this point
Pass module_state directly to _call_dialect
encukou
committed
b62987b
View commit details
Copy full SHA for b62987b
Browse repository at this point
Commits on Dec 8, 2020
Add NULL check for _csv_state_from_type
encukou
committed
f12a768
View commit details
Copy full SHA for f12a768
Browse repository at this point
Use Py_NewRef where appropriate
encukou
committed
f302029
View commit details
Copy full SHA for f302029
Browse repository at this point
Use designated initializers for spec structs
encukou
committed
b8c37bf
View commit details
Copy full SHA for b8c37bf
Browse repository at this point
You can’t perform that action at this time.