This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Boris.FELD, collinwinter, ezio.melotti, flox, vstinner
Date 2011-12-18.00:00:05
SpamBayes Score 0.00044786106
Marked as misclassified No
Message-id <>
bytes_find.patch only works for Python int, not object with the __index__ method. My new patch (bytes_find-2.patch) uses PyNumber_Check() instead of PyLong_Check() to be more generic. It fixes also a different issue: raise the same ValueError than bytes.find(-1) on overflow error.
Date User Action Args
2011-12-18 00:00:06vstinnersetrecipients: + vstinner, collinwinter, ezio.melotti, flox, Boris.FELD
2011-12-18 00:00:06vstinnersetmessageid: <>
2011-12-18 00:00:05vstinnerlinkissue13623 messages
2011-12-18 00:00:05vstinnercreate