6 Commits (1a51fc9ddf889c6a81e0156e6d438e4228479874)

Author SHA1 Message Date
Damien George e269cabe3e py/objint: In to_bytes(), allow length arg to be any int and check sign. 8 years ago
Damien George 8c5632a869 py/objint: Support "big" byte-order in int.to_bytes(). 8 years ago
Damien George 810133d97d tests/basics: Add tests for int.from_bytes when src has trailing zeros. 8 years ago
Paul Sokolovsky 3ab6aa3a6d tests/basic: Split tests into working with small ints and not working. 8 years ago
Damien George 271d18eb08 py: Support conversion of bignum to bytes. 10 years ago
Damien George 539681fffd tests: Rename test scripts, changing - to _ for consistency. 10 years ago
Paul Sokolovsky a985b4593d objint: Implement int.from_bytes() class method and .to_bytes() method. 11 years ago