[issue19692] Rename Py_SAFE_DOWNCAST

Stefan Krah report at bugs.python.org
Sat Aug 3 06:55:35 EDT 2019


Stefan Krah <stefan at bytereef.org> added the comment:

Why would one not abort() in release mode? If the cast is inexact, the results will usually be so wrong that even on a web server a hard exit is preferable.

I don't think the check costs much time with branch prediction.

----------
nosy: +skrah

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue19692>
_______________________________________


More information about the Python-bugs-list mailing list