Message133532
Letting None be used as an index has always been treated as a feature request; however, in this case, it can be deemed a bug because the error message is making a promise that isn't kept.
It would be nice if once and for all this got solved by making argument parsing codes for indices and slices; otherwise, we're doomed to get some variant of this feature request over and over again.
FWIW, Google's code search shows that this slicing feature for startswith/endswith was of dubious worth -- no one seems to uses it. The feature should probably have not been added in the first place.
Now that it is in, we still need to handle this report because people will need to make method wrappers for string-like classes. |
|
Date |
User |
Action |
Args |
2011-04-11 16:01:28 | rhettinger | set | recipients:
+ rhettinger, jcea, r.david.murray, hkBst |
2011-04-11 16:01:28 | rhettinger | set | messageid: <1302537688.28.0.987329579305.issue11828@psf.upfronthosting.co.za> |
2011-04-11 16:01:27 | rhettinger | link | issue11828 messages |
2011-04-11 16:01:27 | rhettinger | create | |
|