Message149720
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:06 | vstinner | set | recipients:
+ vstinner, collinwinter, ezio.melotti, flox, Boris.FELD |
| 2011-12-18 00:00:06 | vstinner | set | messageid: <[email protected]> |
| 2011-12-18 00:00:05 | vstinner | link | issue13623 messages |
| 2011-12-18 00:00:05 | vstinner | create | |
|