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 SylvainDe, serhiy.storchaka, vstinner
Date 2017-06-08.12:31:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496925073.72.0.374056496258.issue30592@psf.upfronthosting.co.za>
In-reply-to
Content
If add an assertion, the user code could provoke a crash by creating an exception type with a name containing "()": type('E()', (BaseException,), {}). Thus this should be a runtime check that raises an exception. What the type of an exception should be raised?
History
Date User Action Args
2017-06-08 12:31:13serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, SylvainDe
2017-06-08 12:31:13serhiy.storchakasetmessageid: <1496925073.72.0.374056496258.issue30592@psf.upfronthosting.co.za>
2017-06-08 12:31:13serhiy.storchakalinkissue30592 messages
2017-06-08 12:31:13serhiy.storchakacreate