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 }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
Rework locale encoding C functions
- #158680
#158680
Merged
vstinner
merged 16 commits into
python:
main
python/cpython:main
from
vstinner:
encode_
locale
vstinner/cpython:encode_locale
Copy head branch name to clipboard
Oct 4, 2026
Conversation
Commits
16
(16)
Checks
Files changed
Merged
Rework locale encoding C functions
#158680
vstinner
merged 16 commits into
python:
main
python/cpython:main
from
vstinner:
encode_
locale
vstinner/cpython:encode_locale
Copy head branch name to clipboard
Commits
Commits on Oct 3, 2026
Add output_length to _Py_EncodeLocaleEx()
Show description for c4bacc6
vstinner
committed
c4bacc6
View commit details
Copy full SHA for c4bacc6
Browse repository at this point
Wrap long lines
Show description for 783aff1
vstinner
committed
783aff1
View commit details
Copy full SHA for 783aff1
Browse repository at this point
Commits on Oct 4, 2026
Add constants for encode errors
Show description for faab2a8
vstinner
committed
faab2a8
View commit details
Copy full SHA for faab2a8
Browse repository at this point
Add more tests on all Encode/Decode output parameters
Show description for 6d7139c
vstinner
committed
6d7139c
View commit details
Copy full SHA for 6d7139c
Browse repository at this point
Remove reason parameter
Show description for 6933b1d
vstinner
committed
6933b1d
View commit details
Copy full SHA for 6933b1d
Browse repository at this point
Rename functions
Show description for 2827453
vstinner
committed
2827453
View commit details
Copy full SHA for 2827453
Browse repository at this point
Update comment
vstinner
committed
f029aff
View commit details
Copy full SHA for f029aff
Browse repository at this point
Update tests
vstinner
committed
2fa4c3a
View commit details
Copy full SHA for 2fa4c3a
Browse repository at this point
indent
vstinner
committed
0caf0ce
View commit details
Copy full SHA for 0caf0ce
Browse repository at this point
Mark _Py_EncodeLocaleRaw() as static
vstinner
committed
7e0dfeb
View commit details
Copy full SHA for 7e0dfeb
Browse repository at this point
Self review
vstinner
committed
23c1ff3
View commit details
Copy full SHA for 23c1ff3
Browse repository at this point
Remove redundant assertion
vstinner
committed
56d285b
View commit details
Copy full SHA for 56d285b
Browse repository at this point
Test embedded NUL byte/character
vstinner
committed
9bbafbb
View commit details
Copy full SHA for 9bbafbb
Browse repository at this point
Update comments
vstinner
committed
8bb54eb
View commit details
Copy full SHA for 8bb54eb
Browse repository at this point
Remove unused variable
vstinner
committed
bbd3b91
View commit details
Copy full SHA for bbd3b91
Browse repository at this point
Fix the doc/comments
vstinner
committed
2102314
View commit details
Copy full SHA for 2102314
Browse repository at this point
You can’t perform that action at this time.