STINNER Victor <[email protected]> added the comment: pitrou> You shouldn't harcode 1 << 63 and 1 << 64, but calculate pitrou> them based on sys.maxsize instead.
(sys.maxint) Yes, you're right. Does str_find-3.patch looks better? It's not easy to always detect an Heisenbug :-) ---------- Added file: http://bugs.python.org/file15496/str_find-3.patch _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue7458> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
