[Python-Dev] Convert from unsigned long long to PyLong
Random832
random832 at fastmail.com
Fri Jul 22 12:23:37 EDT 2016
More information about the Python-Dev mailing list
Fri Jul 22 12:23:37 EDT 2016
- Previous message (by thread): [Python-Dev] Convert from unsigned long long to PyLong
- Next message (by thread): [Python-Dev] Should we fix these errors?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jul 22, 2016, at 11:50, Eric Snow wrote: > On Fri, Jul 22, 2016 at 3:02 AM, Stefan Ring <stefanrin at gmail.com> wrote: > > So to sum this up, you claim that PyLong_FromUnsignedLongLong can > > somehow produce a number larger than the value range of a 64 bit > > number (0x10000000000000180). I have a hard time believing this. > > Perhaps I misunderstood your meaning, but Python's integers (AKA > "PyLong") can be bigger that a machine-native integer (e.g. 64 bits): Yes, but you can't (or shouldn't be able to) get those values from a conversion from a machine-native type such as PyLong_FromUnsignedLongLong.
- Previous message (by thread): [Python-Dev] Convert from unsigned long long to PyLong
- Next message (by thread): [Python-Dev] Should we fix these errors?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list