Stefan Krah <ste...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue19692> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com