[issue7458] crash in str.find() and str.rfind() with invalid start value

Antoine Pitrou report at bugs.python.org
Tue Dec 8 16:01:04 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

You shouldn't harcode 1 << 63 and 1 << 64, but calculate them based on
sys.maxsize instead.

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list