Martin Panter added the comment:

If necessary, perhaps we could unconditionally change the Python-level argument 
to unsigned_long, and then add a conditional bit in the C code to convert it to 
int if appropriate.

But I wonder if most of the problem is fixed by Issue 1471 (linked from the 
commit Serhiy identified). As I see it, your patch should now only be needed to 
support “code” values outside of the range of unsigned_int, e.g. that require > 
32 bits.

----------
nosy: +martin.panter

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

Reply via email to