ziggy-pydust icon indicating copy to clipboard operation
ziggy-pydust copied to clipboard

Support creating PyLong from arbitrary sized integers

Open gatesn opened this issue 1 year ago • 0 comments

Using the int.from_bytes() function to construct an integer from a base-256 byte array.

See https://docs.python.org/3/c-api/long.html#c.PyLong_FromString

https://github.com/fulcrum-so/ziggy-pydust/blob/develop/pydust/src/types/long.zig#L33-L36

gatesn avatar Feb 24 '24 08:02 gatesn