[issue18642] enhancement for operator 'assert'
Al Korgun
report at bugs.python.org
Sat Aug 3 20:59:34 CEST 2013
Al Korgun added the comment:
Mark Dickinson, sorry, didn't answer the first questiuon.
>> In your original message, is it your intention that the assert raises TypeError, or that it raises AssertionError?
I suggest to add the ability to raise relevant (for specific part of code) exception on checking assertion.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18642>
_______________________________________
More information about the Python-bugs-list
mailing list