Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #7622: Improve the split(), rsplit(), splitlines() and replace() | Antoine Pitrou | 2010-01-13 | 1 | -11/+5 |
| | | | | | methods of bytes, bytearray and unicode objects by using a common implementation based on stringlib's fast search. Patch by Florent Xicluna. | ||||
* | #3967: Correct a crash in count() and find() methods of string-like objects. | Amaury Forgeot d'Arc | 2008-09-26 | 1 | -4/+3 |
| | | | | | | | | For example: "".count("xxxx", sys.maxint, 0) Reviewed by Benjamin Peterson. Will port to 2.5 and 3.0. | ||||
* | changed count to return 0 for slices outside the source string | Fredrik Lundh | 2006-05-30 | 1 | -1/+1 |
| | |||||
* | fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying on | Fredrik Lundh | 2006-05-29 | 1 | -1/+4 |
| | | | | the current behaviour ;-) | ||||
* | needforspeed: replace improvements, changed to Py_LOCAL_INLINE | Fredrik Lundh | 2006-05-27 | 1 | -1/+1 |
| | | | | where appropriate | ||||
* | needforspeed: stringlib refactoring, continued. added count and | Fredrik Lundh | 2006-05-26 | 1 | -0/+34 |
find helpers; updated unicodeobject to use stringlib_count |