Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix str.rpartition(sep) when sep is not found in str. | Neal Norwitz | 2006-09-05 | 1 | -4/+4 |
| | | | | Partially from SF patch #1551339, but also taken from head. | ||||
* | changed count to return 0 for slices outside the source string | Fredrik Lundh | 2006-05-30 | 1 | -1/+1 |
| | |||||
* | changed find/rfind to return -1 for matches outside the source string | Fredrik Lundh | 2006-05-30 | 1 | -10/+11 |
| | |||||
* | fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying on | Fredrik Lundh | 2006-05-29 | 1 | -1/+4 |
| | | | | the current behaviour ;-) | ||||
* | needforspeed: stringlib refactoring: changed find_obj to find_slice, | Fredrik Lundh | 2006-05-27 | 1 | -18/+39 |
| | | | | to enable use from stringobject | ||||
* | needforspeed: replace improvements, changed to Py_LOCAL_INLINE | Fredrik Lundh | 2006-05-27 | 4 | -9/+9 |
| | | | | where appropriate | ||||
* | needforspeed: more stringlib refactoring | Fredrik Lundh | 2006-05-27 | 2 | -0/+62 |
| | |||||
* | Fix Coverity warnings. | Neal Norwitz | 2006-05-27 | 1 | -6/+1 |
| | | | | | - Check the correct variable (str_obj, not str) for NULL - sep_len was already verified it wasn't 0 | ||||
* | needforspeed: stringlib refactoring: use stringlib/find for string find | Fredrik Lundh | 2006-05-26 | 1 | -6/+15 |
| | |||||
* | needforspeed: stringlib refactoring, continued. added count and | Fredrik Lundh | 2006-05-26 | 3 | -4/+95 |
| | | | | find helpers; updated unicodeobject to use stringlib_count | ||||
* | needforspeed: added rpartition implementation | Fredrik Lundh | 2006-05-26 | 2 | -1/+68 |
| | |||||
* | removed unnecessary include | Fredrik Lundh | 2006-05-26 | 1 | -2/+0 |
| | |||||
* | needforspeed: stringlib refactoring (in progress) | Fredrik Lundh | 2006-05-26 | 1 | -0/+50 |
| | |||||
* | needforspeed: stringlib refactoring (in progress) | Fredrik Lundh | 2006-05-26 | 2 | -0/+102 |