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 serhiy.storchaka
Recipients baikie, python-dev, serhiy.storchaka, vstinner
Date 2014-12-07.21:27:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417987668.88.0.424426177041.issue9647@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-12-07 21:27:48serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, baikie, python-dev
2014-12-07 21:27:48serhiy.storchakasetmessageid: <1417987668.88.0.424426177041.issue9647@psf.upfronthosting.co.za>
2014-12-07 21:27:48serhiy.storchakalinkissue9647 messages
2014-12-07 21:27:48serhiy.storchakacreate