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
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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Python
codecs.c
on
3.4
User selector
All users
Datepicker
All time
Commit history
Commits on May 30, 2015
Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
Show description for fa494fd
serhiy-storchaka
committed
fa494fd
View commit details
Copy full SHA for fa494fd
View code at this point
Browse repository at this point
Commits on May 18, 2015
Issue #24102: Fixed exception type checking in standard error handlers.
serhiy-storchaka
committed
ca7fecb
View commit details
Copy full SHA for ca7fecb
View code at this point
Browse repository at this point
Commits on Oct 4, 2014
Issue #22518: Fixed integer overflow issues in "backslashreplace",
Show description for 2e37409
serhiy-storchaka
committed
2e37409
View commit details
Copy full SHA for 2e37409
View code at this point
Browse repository at this point
Commits on Sep 23, 2014
Fixed reference leak in the "backslashreplace" error handler.
serhiy-storchaka
committed
8aa8c47
View commit details
Copy full SHA for 8aa8c47
View code at this point
Browse repository at this point
Commits on Sep 15, 2014
Issue #22166: clear codec caches in test_codecs
ncoghlan
committed
8fad167
View commit details
Copy full SHA for 8fad167
View code at this point
Browse repository at this point
Commits on Feb 4, 2014
Close #20404: blacklist non-text encodings in io.TextIOWrapper
Show description for a9b1524
ncoghlan
committed
a9b1524
View commit details
Copy full SHA for a9b1524
View code at this point
Browse repository at this point
Commits on Nov 22, 2013
Issue #19619: Blacklist non-text codecs in method API
Show description for c72e4e6
ncoghlan
committed
c72e4e6
View commit details
Copy full SHA for c72e4e6
View code at this point
Browse repository at this point
Commits on Nov 19, 2013
Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates.
Show description for 58cf607
serhiy-storchaka
committed
58cf607
View commit details
Copy full SHA for 58cf607
View code at this point
Browse repository at this point
Commits on Nov 15, 2013
Close 19609: narrow scope of codec exc chaining
ncoghlan
committed
c4c2580
View commit details
Copy full SHA for c4c2580
View code at this point
Browse repository at this point
Commits on Nov 13, 2013
Close #17828: better handling of codec errors
Show description for 8b097b4
ncoghlan
committed
8b097b4
View commit details
Copy full SHA for 8b097b4
View code at this point
Browse repository at this point
Commits on Oct 19, 2013
Issue #1772673: The type of `char*` arguments now changed to `const char*`.
serhiy-storchaka
committed
c679227
View commit details
Copy full SHA for c679227
View code at this point
Browse repository at this point
Commits on Aug 13, 2013
Issue #18722: Remove uses of the "register" keyword in C code.
pitrou
committed
9ed5f27
View commit details
Copy full SHA for 9ed5f27
View code at this point
Browse repository at this point
Commits on Jul 11, 2013
Issue #18408: normalizestring() now raises MemoryError on memory allocation failure
vstinner
committed
cc35159
View commit details
Copy full SHA for cc35159
View code at this point
Browse repository at this point
Commits on Dec 25, 2012
Issue #15422: get rid of PyCFunction_New macro
asvetlov
committed
3ba3a3e
View commit details
Copy full SHA for 3ba3a3e
View code at this point
Browse repository at this point
Commits on Nov 3, 2012
#16336: merge with 3.3.
ezio-melotti
committed
1e58ae4
View commit details
Copy full SHA for 1e58ae4
View code at this point
Browse repository at this point
#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 30, 2012
Issue #16330: Use surrogate-related macros
Show description for 76df43d
vstinner
committed
76df43d
View commit details
Copy full SHA for 76df43d
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
Previous
Next
You can’t perform that action at this time.