Message232283
I don't think that assert() is appropriate solution here. assert() is used to check internal logic, it shouldn't check conditions which rely on external world. Raising RuntimeError looks more appropriate to me. |
|
Date |
User |
Action |
Args |
2014-12-07 21:27:48 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, baikie, python-dev |
2014-12-07 21:27:48 | serhiy.storchaka | set | messageid: <1417987668.88.0.424426177041.issue9647@psf.upfronthosting.co.za> |
2014-12-07 21:27:48 | serhiy.storchaka | link | issue9647 messages |
2014-12-07 21:27:48 | serhiy.storchaka | create | |
|