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
Lib
gettext.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 25, 2017
bpo-30152: Reduce the number of imports for argparse. (#1269)
serhiy-storchaka
authored
8110837
View commit details
Copy full SHA for 8110837
View code at this point
Browse repository at this point
Commits on Jun 20, 2017
bpo-29755: Fixed the lgettext() family of functions in the gettext module. (#2266)
Show description for 26cb465
serhiy-storchaka
authored
26cb465
View commit details
Copy full SHA for 26cb465
View code at this point
Browse repository at this point
Commits on Mar 27, 2017
bpo-29919: Remove unused imports found by pyflakes (#137)
Show description for d6debb2
vstinner
authored
d6debb2
View commit details
Copy full SHA for d6debb2
View code at this point
Browse repository at this point
Commits on Mar 12, 2017
bpo-28692: Deprecate using non-integer value for selecting a plural form in gettext. (#507)
serhiy-storchaka
authored
f659598
View commit details
Copy full SHA for f659598
View code at this point
Browse repository at this point
Commits on Nov 14, 2016
Issue #28563: Make plural form selection more lenient and accepting
Show description for 5ae6c77
serhiy-storchaka
committed
5ae6c77
View commit details
Copy full SHA for 5ae6c77
View code at this point
Browse repository at this point
Issue #28563: Make plural form selection more lenient and accepting
Show description for 5ca92ab
serhiy-storchaka
committed
5ca92ab
View commit details
Copy full SHA for 5ca92ab
View code at this point
Browse repository at this point
Issue #28563: Make plural form selection more lenient and accepting
Show description for 60ac989
serhiy-storchaka
committed
60ac989
View commit details
Copy full SHA for 60ac989
View code at this point
Browse repository at this point
Commits on Nov 8, 2016
Issue #28563: Fixed possible DoS and arbitrary code execution when handle
Show description for eb20fca
serhiy-storchaka
committed
eb20fca
View commit details
Copy full SHA for eb20fca
View code at this point
Browse repository at this point
Issue #28563: Fixed possible DoS and arbitrary code execution when handle
Show description for 1c3fdd9
serhiy-storchaka
committed
1c3fdd9
View commit details
Copy full SHA for 1c3fdd9
View code at this point
Browse repository at this point
Issue #28563: Fixed possible DoS and arbitrary code execution when handle
Show description for 07bcf05
serhiy-storchaka
committed
07bcf05
View commit details
Copy full SHA for 07bcf05
View code at this point
Browse repository at this point
Commits on Apr 14, 2015
Merge from 3.4
akuchling
committed
19ddaf6
View commit details
Copy full SHA for 19ddaf6
View code at this point
Browse repository at this point
Merge from 3.4
akuchling
committed
467a546
View commit details
Copy full SHA for 467a546
View code at this point
Browse repository at this point
Commits on Apr 13, 2015
#17898: reset k and v so that the loop doesn't use an old value
akuchling
committed
8b963c5
View commit details
Copy full SHA for 8b963c5
View code at this point
Browse repository at this point
#23883: add names missing from __all__ (l*gettext, bind_textdomain_codeset)
akuchling
committed
770b08e
View commit details
Copy full SHA for 770b08e
View code at this point
Browse repository at this point
Commits on Oct 28, 2014
Issue #18216: gettext now raises an error when a .mo file has an unsupported major version number. Patch by Aaron Hill.
pitrou
committed
be8d06f
View commit details
Copy full SHA for be8d06f
View code at this point
Browse repository at this point
Commits on Dec 25, 2012
Replace IOError with OSError (#16715)
asvetlov
committed
f7a17b4
View commit details
Copy full SHA for f7a17b4
View code at this point
Browse repository at this point
Commits on May 26, 2012
Implemented PEP 405 (Python virtual environments).
vsajip
committed
7ded1f0
View commit details
Copy full SHA for 7ded1f0
View code at this point
Browse repository at this point
Commits on Mar 15, 2011
#11515: Merge with 3.1.
ezio-melotti
committed
4969f70
View commit details
Copy full SHA for 4969f70
View code at this point
Browse repository at this point
#11515: fix several typos. Patch by Piotr Kasprzyk.
ezio-melotti
committed
42da663
View commit details
Copy full SHA for 42da663
View code at this point
Browse repository at this point
Commits on Dec 23, 2010
update comment
benjaminp
committed
bc78e37
View commit details
Copy full SHA for bc78e37
View code at this point
Browse repository at this point
kill some function imports
benjaminp
committed
31e8720
View commit details
Copy full SHA for 31e8720
View code at this point
Browse repository at this point
use native tenary condition
benjaminp
committed
a91dd1e
View commit details
Copy full SHA for a91dd1e
View code at this point
Browse repository at this point
Commits on Oct 4, 2010
Merged revisions 85223 via svnmerge from
Show description for 298be51
merwok
committed
298be51
View commit details
Copy full SHA for 298be51
View code at this point
Browse repository at this point
Fix interaction of custom translation classes and caching (#9042)
merwok
committed
6108bf5
View commit details
Copy full SHA for 6108bf5
View code at this point
Browse repository at this point
Commits on Jun 1, 2009
Merged revisions 72506,72525-72526,72551,72558,72616,72654-72655,72689,72745,72750,72802,72812,72822,72824,72826-72827,72833,72876,72890,72923,72946,73026,73042,73045,73047,73065,73068-73069 via sv…
Show description for fa0d703
benjaminp
committed
fa0d703
View commit details
Copy full SHA for fa0d703
View code at this point
Browse repository at this point
Commits on May 17, 2009
Use true booleans.
birkenfeld
committed
cd86925
View commit details
Copy full SHA for cd86925
View code at this point
Browse repository at this point
Commits on Jul 17, 2008
Make gettext Unicode interface consistent and clean up the docs.
birkenfeld
committed
bded4d3
View commit details
Copy full SHA for bded4d3
View code at this point
Browse repository at this point
Commits on Jul 14, 2008
#2512 implement the 3.0 gettext API
Show description for 801844d
benjaminp
committed
801844d
View commit details
Copy full SHA for 801844d
View code at this point
Browse repository at this point
Commits on Dec 2, 2007
#1535: rename __builtin__ module to builtins.
birkenfeld
committed
1a3284e
View commit details
Copy full SHA for 1a3284e
View code at this point
Browse repository at this point
Commits on Nov 6, 2007
Merging the py3k-pep3137 branch back into the py3k branch.
Show description for 98297ee
gvanrossum
committed
98297ee
View commit details
Copy full SHA for 98297ee
View code at this point
Browse repository at this point
Commits on Oct 31, 2007
Fixed gettext module for Windows. The metadata lines always end in \n and not in os.linesep
tiran
committed
6ae5d7f
View commit details
Copy full SHA for 6ae5d7f
View code at this point
Browse repository at this point
Commits on Aug 30, 2007
Raise statement normalization in Lib/.
collinw
committed
ce36ad8
View commit details
Copy full SHA for ce36ad8
View code at this point
Browse repository at this point
Commits on Aug 29, 2007
Make gettext work with strict str/bytes.
gvanrossum
committed
9600f93
View commit details
Copy full SHA for 9600f93
View code at this point
Browse repository at this point
Commits on Jul 12, 2007
Fixes for str/uni/bytes for gettext.py. test_gettext.py passes.
Show description for 652f446
gvanrossum
committed
652f446
View commit details
Copy full SHA for 652f446
View code at this point
Browse repository at this point
Commits on May 18, 2007
Change some uses of cStringIO.StringIO to io.StringIO.
Show description for 68937b4
gvanrossum
committed
68937b4
View commit details
Copy full SHA for 68937b4
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.