Message301349
On Tue, Sep 05, 2017 at 05:10:24PM +0000, STINNER Victor wrote:
> That's a good example of better implementation for Py_UNREACHABLE().
>
> The tricky part is to make compiler warnings quiet. For example, you cannot replace "abort(); return NULL;" with "abort()", because a function without return would emit a warning.
Which compiler needs more than "abort();" in a default statement? gcc and clang
don't. |
|
Date |
User |
Action |
Args |
2017-09-05 18:17:40 | skrah | set | recipients:
+ skrah, barry, rhettinger, pitrou, vstinner, serhiy.storchaka |
2017-09-05 18:17:40 | skrah | link | issue31338 messages |
2017-09-05 18:17:40 | skrah | create | |
|