| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Now in find, rfind, index, and rindex, you can use None as defaults, | Facundo Batista | 2007-11-16 | 1 | -0/+47 | |
| | | | | | | | | | | | | | as usual with slicing (both with str and unicode strings). This fixes issue 1259. For str only the stringobject.c file was modified. But for unicode, I needed to repeat in the four functions a lot of code, so created a new function that does part of the job for them (and placed it in find.h, following a suggestion of Barry). Also added tests for this behaviour. | |||||
| * | Fix endcase for str.rpartition() | Raymond Hettinger | 2006-09-04 | 1 | -4/+4 | |
| | | ||||||
| * | 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 | |
