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 pitrou
Recipients benjamin.peterson, ezio.melotti, loewis, pitrou, vstinner
Date 2012-05-02.13:26:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335965191.17.0.734282170221.issue14656@psf.upfronthosting.co.za>
In-reply-to
Content
> I like the current
> solution: assert(0) + return a almost valid value, but Antoine and
> Benjamin don't like the "almost valid value" (and so prefer a fatal
> error?). We may issue a warning instead of a fatal error (e.g. write a 
> message into stderr with fprintf ?) in release mode.

If there's a bug, either an exception should be raised, or a fatal error.
We should discourage warnings on stderr (the PHP approach).
History
Date User Action Args
2012-05-02 13:26:31pitrousetrecipients: + pitrou, loewis, vstinner, benjamin.peterson, ezio.melotti
2012-05-02 13:26:31pitrousetmessageid: <1335965191.17.0.734282170221.issue14656@psf.upfronthosting.co.za>
2012-05-02 13:26:30pitroulinkissue14656 messages
2012-05-02 13:26:30pitroucreate