Message243722
Raymond: this is currently marked as a documentation bug, and documentation is mostly what the OP was asking for. So I'm reopening it.
That said, I think it is very appropriate to discuss fixing the behavior of string's endswith and startswith, because people are still (and will be for a while yet) porting from python2 and supporting single-code-base code, where string behaves the way bytes does in python3. That should be addressed in a separate issue. So in fact, history and "code written for the current behavior" comes down, IMO, on the side of fixing this edge case. I'm willing to be argued out of that, though :) |
|
Date |
User |
Action |
Args |
2015-05-21 03:17:41 | r.david.murray | set | recipients:
+ r.david.murray, lemburg, rhettinger, pitrou, vstinner, benjamin.peterson, ezio.melotti, docs@python, martin.panter, serhiy.storchaka, swanson |
2015-05-21 03:17:41 | r.david.murray | set | messageid: <1432178261.77.0.839594080888.issue24243@psf.upfronthosting.co.za> |
2015-05-21 03:17:41 | r.david.murray | link | issue24243 messages |
2015-05-21 03:17:41 | r.david.murray | create | |
|