Martin v. Löwis added the comment:

Zitat von Serhiy Storchaka <rep...@bugs.python.org>:

>> I recommend to close the issue as rejected.
>
> I think _PyLong_IS_SMALL_INT can be rewritten in a safe style. For  
> example, using a checking of several fields  
> ((sdigit)(x)->ob_digit[0] < _MAX_SMALL_INT && PySIZE(x) <= 1) or a
> special flag. It is possible however that shuch checking will fully  
> destroy the effect of optimization. We need further research.

Do we need to keep this issue open while this research is being carried
out? This issue is already cluttered with the undefined-behavior discussion.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10044>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to