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 }}
lababidi
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 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.