Message296094
> This request was part of the original bug report, so why open a new issue?
Making two C functions public is very different from supporting intmax_t. I expect a change of a few lines, whereas my intmax_t patch modified a lot of code.
I wanted to simplify the C code of CPython, I didn't care of the public support for intmax_t (but I considered that it would be nice to have).
The thing is that portability is complex, CPython wants to support as much platforms as possible. We only moved to C99 with Python 3.6, before stdint.h was not required. There are always minor compatibility issues, so it's simpler to not try to support an uncommon C type (intmax_t), and rather support a very generic functions "here are bytes, give me a Python int object".
It would solve your use case as well ;-) |
|
Date |
User |
Action |
Args |
2017-06-15 14:06:46 | vstinner | set | recipients:
+ vstinner, mark.dickinson, pitrou, benjamin.peterson, Devin Jeanpierre, serhiy.storchaka, yselivanov, josh.r |
2017-06-15 14:06:46 | vstinner | set | messageid: <1497535606.19.0.15815752999.issue17870@psf.upfronthosting.co.za> |
2017-06-15 14:06:46 | vstinner | link | issue17870 messages |
2017-06-15 14:06:46 | vstinner | create | |
|