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
Events
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
Commits
Breadcrumbs
History for
cpython
Objects
stringlib
on
3.3
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 20, 2011
Issue #12170: The count(), find(), rfind(), index() and rindex() methods
Show description for ac65d96
pitrou
committed
ac65d96
View commit details
Copy full SHA for ac65d96
View code at this point
Browse repository at this point
Commits on Oct 17, 2011
Fix typo
pitrou
committed
5b9f4c1
View commit details
Copy full SHA for 5b9f4c1
View code at this point
Browse repository at this point
Commits on Oct 13, 2011
Add a comment explaining this heuristic.
pitrou
committed
c198d05
View commit details
Copy full SHA for c198d05
View code at this point
Browse repository at this point
Simplify heuristic for when to use memchr
pitrou
committed
dda339e
View commit details
Copy full SHA for dda339e
View code at this point
Browse repository at this point
Commits on Oct 12, 2011
Issue #13155: Optimize finding the optimal character width of an unicode string
pitrou
committed
dd4e2f0
View commit details
Copy full SHA for dd4e2f0
View code at this point
Browse repository at this point
Commits on Oct 11, 2011
stringlib: Fix STRINGLIB_STR for UCS2/UCS4
Victor Stinner
committed
d218bf1
View commit details
Copy full SHA for d218bf1
View code at this point
Browse repository at this point
Fix fastsearch for UCS2 and UCS4
Show description for 8cc70dc
Victor Stinner
committed
8cc70dc
View commit details
Copy full SHA for 8cc70dc
View code at this point
Browse repository at this point
Issue #13134: optimize finding single-character strings using memchr
pitrou
committed
2c3b230
View commit details
Copy full SHA for 2c3b230
View code at this point
Browse repository at this point
Commits on Oct 7, 2011
Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE.
loewis
committed
c47adb0
View commit details
Copy full SHA for c47adb0
View code at this point
Browse repository at this point
Fix massive slowdown in string formatting with str.format.
Show description for 4574e62
pitrou
committed
4574e62
View commit details
Copy full SHA for 4574e62
View code at this point
Browse repository at this point
Commits on Oct 6, 2011
Fix compilation warnings under 64-bit Windows
pitrou
committed
dbf697a
View commit details
Copy full SHA for dbf697a
View code at this point
Browse repository at this point
Commits on Oct 5, 2011
Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII
Show description for c3cec78
Victor Stinner
committed
c3cec78
View commit details
Copy full SHA for c3cec78
View code at this point
Browse repository at this point
Commits on Sep 28, 2011
Mark PyUnicode_FromUCS[124] as private
Victor Stinner
committed
e57b1c0
View commit details
Copy full SHA for e57b1c0
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 Sep 25, 2011
Issue #1621: Fix undefined behaviour from signed overflow in datetime module hashes, array and list iterations, and get_integer (stringlib/string_format.h)
mdickinson
committed
c7d93b7
View commit details
Copy full SHA for c7d93b7
View code at this point
Browse repository at this point
Commits on Sep 24, 2011
Issue #1621: Fix undefined behaviour from signed overflow in get_integer (stringlib/formatter.h)
mdickinson
committed
36f27c9
View commit details
Copy full SHA for 36f27c9
View code at this point
Browse repository at this point
Commits on Jul 18, 2011
Closes #12579. Positional fields with str.format_map() now raise a ValueError instead of SystemError.
ericvsmith
committed
12ebefc
View commit details
Copy full SHA for 12ebefc
View code at this point
Browse repository at this point
Commits on Apr 20, 2011
MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)
jcea
committed
6159ee3
View commit details
Copy full SHA for 6159ee3
View code at this point
Browse repository at this point
startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)
jcea
committed
ac45150
View commit details
Copy full SHA for ac45150
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 Jan 29, 2011
Issue #11302: missing type check on _string.formatter_field_name_split and _string.formatter_parser caused crash.
Show description for a1eac72
ericvsmith
committed
a1eac72
View commit details
Copy full SHA for a1eac72
View code at this point
Browse repository at this point
Commits on Nov 25, 2010
Issue #7094: Add alternate ('#') flag to __format__ methods for float, complex and Decimal. Allows greater control over when decimal points appear. Added to make transitioning from %-formatting eas…
Show description for 984bb58
ericvsmith
committed
984bb58
View commit details
Copy full SHA for 984bb58
View code at this point
Browse repository at this point
Commits on Nov 5, 2010
Followup to r86170: fix reference leak in str.format
pitrou
committed
a277ec4
View commit details
Copy full SHA for a277ec4
View code at this point
Browse repository at this point
Commits on Nov 4, 2010
Issue #6081: Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict.
ericvsmith
committed
27bbca6
View commit details
Copy full SHA for 27bbca6
View code at this point
Browse repository at this point
Commits on Oct 14, 2010
#9418: first step of moving private string methods to _string module.
birkenfeld
committed
66c221e
View commit details
Copy full SHA for 66c221e
View code at this point
Browse repository at this point
Commits on Aug 8, 2010
Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array.
florentx
committed
eb6f3ea
View commit details
Copy full SHA for eb6f3ea
View code at this point
Browse repository at this point
Commits on Aug 4, 2010
Issue #9337: Make float.__str__ identical to float.__repr__.
Show description for 388122d
mdickinson
committed
388122d
View commit details
Copy full SHA for 388122d
View code at this point
Browse repository at this point
Commits on Aug 1, 2010
Merged revisions 83400 via svnmerge from
Show description for fc07031
mdickinson
committed
fc07031
View commit details
Copy full SHA for fc07031
View code at this point
Browse repository at this point
Issue #9416: Fix some issues with complex formatting where the
Show description for 5b65df7
mdickinson
committed
5b65df7
View commit details
Copy full SHA for 5b65df7
View code at this point
Browse repository at this point
Commits on Jul 11, 2010
remove unneeded error check
benjaminp
committed
3b107f9
View commit details
Copy full SHA for 3b107f9
View code at this point
Browse repository at this point
Commits on Jun 8, 2010
Merged revisions 81823,81835 via svnmerge from
Show description for 99bcf5c
benjaminp
committed
99bcf5c
View commit details
Copy full SHA for 99bcf5c
View code at this point
Browse repository at this point
Commits on Jun 7, 2010
Merged revisions 81824 via svnmerge from
Show description for 504b6e8
benjaminp
committed
504b6e8
View commit details
Copy full SHA for 504b6e8
View code at this point
Browse repository at this point
Merged revisions 81820 via svnmerge from
Show description for 59a1b2f
benjaminp
committed
59a1b2f
View commit details
Copy full SHA for 59a1b2f
View code at this point
Browse repository at this point
Merged revisions 81813 via svnmerge from
Show description for d240071
benjaminp
committed
d240071
View commit details
Copy full SHA for d240071
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.