[docs] [issue5416] str.replace does strange things when given a negative count

Raymond Hettinger report at bugs.python.org
Wed Aug 11 23:23:20 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

FWIW, we should be cautious about documenting all behaviors.  It is arguable that this was an implementation detail and not a guaranteed behavior.  As soon as you document it, people will rely on the API and all other implementations will need to change in order to comply.

Please consider whether this doc change should be reverted.

----------
nosy: +rhettinger
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5416>
_______________________________________


More information about the docs mailing list