Message232267
You should not rely on undefined behaviour: check if the index is greater
or equal than PY_SSIZET_MAX - 1. __setstate__ must implement the same check.
You must always raise an error, not hide it in a second call to next (raise
StopIteration). Your unit test must check this behaviour. |
|
Date |
User |
Action |
Args |
2014-12-07 08:44:12 | vstinner | set | recipients:
+ vstinner, rhettinger, mark.dickinson, r.david.murray, serhiy.storchaka, hakril |
2014-12-07 08:44:12 | vstinner | link | issue22939 messages |
2014-12-07 08:44:11 | vstinner | create | |
|