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
Commits
Breadcrumbs
History for
cpython
Objects
stringlib
on
v2.5.4
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 26, 2008
#3967: Correct a crash in count() and find() methods of string-like objects.
Show description for b50f992
amauryfa
committed
b50f992
View commit details
Copy full SHA for b50f992
View code at this point
Browse repository at this point
Commits on Sep 5, 2006
Fix str.rpartition(sep) when sep is not found in str.
Show description for 29a5fdb
nnorwitz
committed
29a5fdb
View commit details
Copy full SHA for 29a5fdb
View code at this point
Browse repository at this point
Commits on May 30, 2006
changed count to return 0 for slices outside the source string
Fredrik Lundh
committed
9e9ef9f
View commit details
Copy full SHA for 9e9ef9f
View code at this point
Browse repository at this point
changed find/rfind to return -1 for matches outside the source string
Fredrik Lundh
committed
93eff6f
View commit details
Copy full SHA for 93eff6f
View code at this point
Browse repository at this point
Commits on May 29, 2006
fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying on
Show description for b51b470
Fredrik Lundh
committed
b51b470
View commit details
Copy full SHA for b51b470
View code at this point
Browse repository at this point
Commits on May 27, 2006
needforspeed: stringlib refactoring: changed find_obj to find_slice,
Show description for 60d8b18
Fredrik Lundh
committed
60d8b18
View commit details
Copy full SHA for 60d8b18
View code at this point
Browse repository at this point
needforspeed: replace improvements, changed to Py_LOCAL_INLINE
Show description for c2d29c5
Fredrik Lundh
committed
c2d29c5
View commit details
Copy full SHA for c2d29c5
View code at this point
Browse repository at this point
needforspeed: more stringlib refactoring
Fredrik Lundh
committed
2d23d5b
View commit details
Copy full SHA for 2d23d5b
View code at this point
Browse repository at this point
Fix Coverity warnings.
Show description for d1b6cd7
nnorwitz
committed
d1b6cd7
View commit details
Copy full SHA for d1b6cd7
View code at this point
Browse repository at this point
Commits on May 26, 2006
needforspeed: stringlib refactoring: use stringlib/find for string find
Fredrik Lundh
committed
e6e43c8
View commit details
Copy full SHA for e6e43c8
View code at this point
Browse repository at this point
needforspeed: stringlib refactoring, continued. added count and
Show description for 58b5e84
Fredrik Lundh
committed
58b5e84
View commit details
Copy full SHA for 58b5e84
View code at this point
Browse repository at this point
needforspeed: added rpartition implementation
Fredrik Lundh
committed
b3167cb
View commit details
Copy full SHA for b3167cb
View code at this point
Browse repository at this point
removed unnecessary include
Fredrik Lundh
committed
be9f219
View commit details
Copy full SHA for be9f219
View code at this point
Browse repository at this point
needforspeed: stringlib refactoring (in progress)
Fredrik Lundh
committed
b947948
View commit details
Copy full SHA for b947948
View code at this point
Browse repository at this point
needforspeed: stringlib refactoring (in progress)
Fredrik Lundh
committed
a50d201
View commit details
Copy full SHA for a50d201
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.