Message149720
| 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 |
<1324166406.08.0.695790721964.issue13623@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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: <1324166406.08.0.695790721964.issue13623@psf.upfronthosting.co.za> |
| 2011年12月18日 00:00:05 | vstinner | link | issue13623 messages |
| 2011年12月18日 00:00:05 | vstinner | create |
|