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.2k
Star
74.3k
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
Python
codecs.c
on
3.3
User selector
All users
All time
Commit history
Commits on Oct 4, 2014
Issue #22518: Fixed integer overflow issues in "backslashreplace",
Show description for 4b16818
serhiy-storchaka
committed
4b16818
View commit details
Copy full SHA for 4b16818
View code at this point
Browse repository at this point
Commits on Mar 2, 2014
Issue #20404: reject non-text encodings early in TextIOWrapper.
birkenfeld
committed
2fc8f77
View commit details
Copy full SHA for 2fc8f77
View code at this point
Browse repository at this point
Commits on Feb 24, 2014
Issue #19619: Blacklist non-text codecs in method API
Show description for 94ee389
serhiy-storchaka
committed
94ee389
View commit details
Copy full SHA for 94ee389
View code at this point
Browse repository at this point
Commits on Nov 3, 2012
#16336: merge with 3.2.
ezio-melotti
committed
a0b5c46
View commit details
Copy full SHA for a0b5c46
View code at this point
Browse repository at this point
#16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storchaka.
ezio-melotti
committed
540da76
View commit details
Copy full SHA for 540da76
View code at this point
Browse repository at this point
Commits on Oct 27, 2012
merge with 3.2
pjenvey
committed
5f9459f
View commit details
Copy full SHA for 5f9459f
View code at this point
Browse repository at this point
bounds check for bad data (thanks amaury)
pjenvey
committed
45c4149
View commit details
Copy full SHA for 45c4149
View code at this point
Browse repository at this point
Commits on Apr 27, 2012
Check newly created consistency using _PyUnicode_CheckConsistency(str, 1)
Show description for 8f82506
vstinner
committed
8f82506
View commit details
Copy full SHA for 8f82506
View code at this point
Browse repository at this point
Commits on Jan 18, 2012
Issue #13722: Avoid silencing ImportErrors when initializing the codecs registry.
pitrou
committed
f0ecdd2
View commit details
Copy full SHA for f0ecdd2
View code at this point
Browse repository at this point
Issue #13722: Avoid silencing ImportErrors when initializing the codecs registry.
pitrou
committed
1b468af
View commit details
Copy full SHA for 1b468af
View code at this point
Browse repository at this point
Commits on Dec 1, 2011
PyCodec_IgnoreErrors() avoids the deprecated "u#" format
Victor Stinner
committed
ee45009
View commit details
Copy full SHA for ee45009
View code at this point
Browse repository at this point
Commits on Nov 4, 2011
Avoid the Py_UNICODE type in codecs.c
Victor Stinner
committed
c06bb7a
View commit details
Copy full SHA for c06bb7a
View code at this point
Browse repository at this point
PyCodec_XMLCharRefReplaceError(): Remove unused variable
Victor Stinner
committed
b31f1bc
View commit details
Copy full SHA for b31f1bc
View code at this point
Browse repository at this point
Fix C89 incompatibility.
loewis
committed
8ba7930
View commit details
Copy full SHA for 8ba7930
View code at this point
Browse repository at this point
Port error handlers from Py_UNICODE indexing to code point indexing.
loewis
committed
b09af03
View commit details
Copy full SHA for b09af03
View code at this point
Browse repository at this point
Commits on Oct 14, 2011
Rename _Py_identifier to _Py_IDENTIFIER.
loewis
committed
bd928fe
View commit details
Copy full SHA for bd928fe
View code at this point
Browse repository at this point
Issue #13088: Add shared Py_hexdigits constant to format a number into base 16
Victor Stinner
committed
f5cff56
View commit details
Copy full SHA for f5cff56
View code at this point
Browse repository at this point
Commits on Oct 10, 2011
Use identifier API for PyObject_GetAttrString.
loewis
committed
1ee1b6f
View commit details
Copy full SHA for 1ee1b6f
View code at this point
Browse repository at this point
Commits on Oct 2, 2011
PyCodec_ReplaceErrors() uses "C" format instead of "u#" to build result
Victor Stinner
committed
1a15aba
View commit details
Copy full SHA for 1a15aba
View code at this point
Browse repository at this point
Commits on Sep 28, 2011
Use the new Py_ARRAY_LENGTH macro
Victor Stinner
committed
6394188
View commit details
Copy full SHA for 6394188
View code at this point
Browse repository at this point
Implement PEP 393.
loewis
committed
d63a3b8
View commit details
Copy full SHA for d63a3b8
View code at this point
Browse repository at this point
Commits on Jul 24, 2011
Issue #1813: Fix codec lookup under Turkish locales.
pitrou
committed
cf9d3c0
View commit details
Copy full SHA for cf9d3c0
View code at this point
Browse repository at this point
Commits on Sep 9, 2010
Issue #9804: ascii() now always represents unicode surrogate pairs as
Show description for e4a1892
pitrou
committed
e4a1892
View commit details
Copy full SHA for e4a1892
View code at this point
Browse repository at this point
Commits on May 9, 2010
Recorded merge of revisions 81029 via svnmerge from
Show description for f95a1b3
pitrou
committed
f95a1b3
View commit details
Copy full SHA for f95a1b3
View code at this point
Browse repository at this point
Commits on Oct 27, 2009
Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,75602-75607,75610-75613,75616-75617,75623,75627,75640,75647,75696,75795 via svnmerge from
Show description for 495f7b5
birkenfeld
committed
495f7b5
View commit details
Copy full SHA for 495f7b5
View code at this point
Browse repository at this point
Commits on May 10, 2009
Rename utf8b error handler to surrogateescape.
loewis
committed
43c5778
View commit details
Copy full SHA for 43c5778
View code at this point
Browse repository at this point
Rename the surrogates error handler to surrogatepass.
loewis
committed
e0a2b72
View commit details
Copy full SHA for e0a2b72
View code at this point
Browse repository at this point
Commits on May 5, 2009
Issue #5915: Implement PEP 383, Non-decodable Bytes in
Show description for 011e842
loewis
committed
011e842
View commit details
Copy full SHA for 011e842
View code at this point
Browse repository at this point
Commits on May 2, 2009
Make PyCodec_SurrogateErrors static.
loewis
committed
aef3fb0
View commit details
Copy full SHA for aef3fb0
View code at this point
Browse repository at this point
Issue #3672: Reject surrogates in utf-8 codec; add surrogates error
Show description for db12d45
loewis
committed
db12d45
View commit details
Copy full SHA for db12d45
View code at this point
Browse repository at this point
Commits on Oct 30, 2008
Issue 3723: Fixed initialization of subinterpreters
Show description for 6a27efa
tiran
committed
6a27efa
View commit details
Copy full SHA for 6a27efa
View code at this point
Browse repository at this point
Commits on Jun 6, 2008
Move the codec decode type checks to bytes/bytearray.decode().
Show description for b2750b5
malemburg
committed
b2750b5
View commit details
Copy full SHA for b2750b5
View code at this point
Browse repository at this point
Commits on May 26, 2008
Renamed PyString to PyBytes
tiran
committed
72b710a
View commit details
Copy full SHA for 72b710a
View code at this point
Browse repository at this point
Renamed PyBytes to PyByteArray
tiran
committed
9c4756e
View commit details
Copy full SHA for 9c4756e
View code at this point
Browse repository at this point
Commits on Jan 3, 2008
More PyImport_ImportModule -> PyImport_ImportModuleNoBlock
tiran
committed
819b8bf
View commit details
Copy full SHA for 819b8bf
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.