Message159786
I think you misuse __builtin_unreachable(): the code *is* reachable,
it is just very unlikely.
I really prefer to return something looking valid and continue the
execution of the program, instead of calling the evil Py_FatalError()
in release mode which stops immediatly the program in an insane
manner. For example, -1 is a valid result for findchar(), so the
program execution will continue, even if the kind is invalid. |
|
Date |
User |
Action |
Args |
2012-05-02 11:35:18 | vstinner | set | recipients:
+ vstinner, loewis, benjamin.peterson, ezio.melotti |
2012-05-02 11:35:18 | vstinner | link | issue14656 messages |
2012-05-02 11:35:17 | vstinner | create | |
|