homepage

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 WitcherGeralt
Recipients WitcherGeralt
Date 2013年08月03日.11:53:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375530787.73.0.318484624842.issue18642@psf.upfronthosting.co.za>
In-reply-to
Content
It would be pretty good, if 'assert' could raise specified exception, like that:
>>> data = None
>>> assert isinstance(data, basestring), TypeError("'data' must be a string")
<s>AssertionError</s>TypeError: 'data' must be a string
History
Date User Action Args
2013年08月03日 11:53:07WitcherGeraltsetrecipients: + WitcherGeralt
2013年08月03日 11:53:07WitcherGeraltsetmessageid: <1375530787.73.0.318484624842.issue18642@psf.upfronthosting.co.za>
2013年08月03日 11:53:07WitcherGeraltlinkissue18642 messages
2013年08月03日 11:53:07WitcherGeraltcreate

AltStyle によって変換されたページ (->オリジナル) /