Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I do not think that this is suitable for newcomers because you need to have 
deep understanding why it was written in such form at first place and what will 
be changed if you change it.

The code was written when unsigned long long was not standard and 64-bit 
integer type was not required in Python. PyLong_FromUnsignedLongLong could just 
not exist on the particular platform. Using long long optionally would 
complicate the code, and it was not always justified. And it could negatively 
affect performance, especially on 32-bit platforms.

----------

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

Reply via email to