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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Objects
stringlib
codecs.h
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 29, 2018
bpo-34523: Support surrogatepass in locale codecs (GH-8995)
Show description for 3d4226a
vstinner
authored
3d4226a
View commit details
Copy full SHA for 3d4226a
View code at this point
Browse repository at this point
Commits on Aug 21, 2017
bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157)
skrah
authored
f432a32
View commit details
Copy full SHA for f432a32
View code at this point
Browse repository at this point
Commits on Oct 30, 2016
Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc.
Show description for 998c9cd
serhiy-storchaka
committed
998c9cd
View commit details
Copy full SHA for 998c9cd
View code at this point
Browse repository at this point
Commits on Sep 2, 2016
PEP 7 style for if/else in C
Show description for 1a05d6c
vstinner
committed
1a05d6c
View commit details
Copy full SHA for 1a05d6c
View code at this point
Browse repository at this point
Commits on Aug 30, 2016
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
rhettinger
committed
15f44ab
View commit details
Copy full SHA for 15f44ab
View code at this point
Browse repository at this point
Commits on May 16, 2016
Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used
Show description for bcde10a
serhiy-storchaka
committed
bcde10a
View commit details
Copy full SHA for bcde10a
View code at this point
Browse repository at this point
Commits on Oct 9, 2015
Optimize error handlers of ASCII and Latin1 encoders when the replacement
Show description for 6bd525b
vstinner
committed
6bd525b
View commit details
Copy full SHA for 6bd525b
View code at this point
Browse repository at this point
Add _PyBytesWriter_WriteBytes() to factorize the code
vstinner
committed
ce179bf
View commit details
Copy full SHA for ce179bf
View code at this point
Browse repository at this point
_PyBytesWriter: simplify code to avoid "prealloc" parameters
Show description for ad77158
vstinner
committed
ad77158
View commit details
Copy full SHA for ad77158
View code at this point
Browse repository at this point
Commits on Oct 8, 2015
Optimize backslashreplace error handler
Show description for e7bf86c
vstinner
committed
e7bf86c
View commit details
Copy full SHA for e7bf86c
View code at this point
Browse repository at this point
Issue #25318: Add _PyBytesWriter API
Show description for fdfbf78
vstinner
committed
fdfbf78
View commit details
Copy full SHA for fdfbf78
View code at this point
Browse repository at this point
Commits on Oct 1, 2015
Issue #25267: The UTF-8 encoder is now up to 75 times as fast for error
Show description for 01ada39
vstinner
committed
01ada39
View commit details
Copy full SHA for 01ada39
View code at this point
Browse repository at this point
Commits on May 18, 2015
Fixed typos in comments.
serhiy-storchaka
committed
9ce71a6
View commit details
Copy full SHA for 9ce71a6
View code at this point
Browse repository at this point
Fixed typos in comments.
serhiy-storchaka
committed
7e29eea
View commit details
Copy full SHA for 7e29eea
View code at this point
Browse repository at this point
Commits on May 12, 2015
Issue #15027: The UTF-32 encoder is now 3x to 7x faster.
serhiy-storchaka
committed
0d4df75
View commit details
Copy full SHA for 0d4df75
View code at this point
Browse repository at this point
Commits on Jan 4, 2014
Reverted changeset b72c5573c5e7 (issue #15027).
serhiy-storchaka
committed
3079328
View commit details
Copy full SHA for 3079328
View code at this point
Browse repository at this point
Issue #15027: Rewrite the UTF-32 encoder. It is now 1.6x to 3.5x faster.
serhiy-storchaka
committed
583a939
View commit details
Copy full SHA for 583a939
View code at this point
Browse repository at this point
Commits on Nov 19, 2013
Remove dead code committed in issue #12892.
serhiy-storchaka
committed
dc2fd51
View commit details
Copy full SHA for dc2fd51
View code at this point
Browse repository at this point
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 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 Nov 4, 2012
(Merge 3.3) Issue #8271: Fix compilation on Windows
vstinner
committed
6caa6fb
View commit details
Copy full SHA for 6caa6fb
View code at this point
Browse repository at this point
Issue #8271: Fix compilation on Windows
vstinner
committed
ab60de4
View commit details
Copy full SHA for ab60de4
View code at this point
Browse repository at this point
#8271: merge with 3.3.
ezio-melotti
committed
cfa9636
View commit details
Copy full SHA for cfa9636
View code at this point
Browse repository at this point
#8271: the utf-8 decoder now outputs the correct number of U+FFFD characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti.
Show description for f7ed5d1
ezio-melotti
committed
f7ed5d1
View commit details
Copy full SHA for f7ed5d1
View code at this point
Browse repository at this point
Commits on Oct 17, 2012
Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified
Show description for 743e0cd
tiran
committed
743e0cd
View commit details
Copy full SHA for 743e0cd
View code at this point
Browse repository at this point
Commits on Sep 20, 2012
Issue #15144: Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t.
Show description for ca8aa4a
pitrou
committed
ca8aa4a
View commit details
Copy full SHA for ca8aa4a
View code at this point
Browse repository at this point
Commits on Jul 7, 2012
Use correct types for ASCII_CHAR_MASK integer constants.
mdickinson
committed
01ac8b6
View commit details
Copy full SHA for 01ac8b6
View code at this point
Browse repository at this point
Commits on Jun 23, 2012
Issue #14923: Optimize continuation-byte check in UTF-8 decoding. Patch by Serhiy Storchaka.
mdickinson
committed
106c414
View commit details
Copy full SHA for 106c414
View code at this point
Browse repository at this point
Commits on Jun 15, 2012
Issue #15026: utf-16 encoding is now significantly faster (up to 10x).
Show description for 27f6a3b
pitrou
committed
27f6a3b
View commit details
Copy full SHA for 27f6a3b
View code at this point
Browse repository at this point
Commits on May 15, 2012
Issue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs.
Show description for 63065d7
pitrou
committed
63065d7
View commit details
Copy full SHA for 63065d7
View code at this point
Browse repository at this point
Commits on May 10, 2012
Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy Storchaka.
pitrou
committed
ca5f91b
View commit details
Copy full SHA for ca5f91b
View code at this point
Browse repository at this point
Commits on Dec 18, 2011
Issue #13624: Write a specialized UTF-8 encoder to allow more optimization
Show description for 6099a03
Victor Stinner
committed
6099a03
View commit details
Copy full SHA for 6099a03
View code at this point
Browse repository at this point
Commits on Nov 21, 2011
Issue #13417: speed up utf-8 decoding by around 2x for the non-fully-ASCII case.
Show description for 0a3229d
pitrou
committed
0a3229d
View commit details
Copy full SHA for 0a3229d
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.