Message159794
> 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). |
|
Date |
User |
Action |
Args |
2012-05-02 13:26:31 | pitrou | set | recipients:
+ pitrou, loewis, vstinner, benjamin.peterson, ezio.melotti |
2012-05-02 13:26:31 | pitrou | set | messageid: <1335965191.17.0.734282170221.issue14656@psf.upfronthosting.co.za> |
2012-05-02 13:26:30 | pitrou | link | issue14656 messages |
2012-05-02 13:26:30 | pitrou | create | |
|