summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/int-bytes.py
Commit message (Collapse)AuthorAge
* tests: Rename test scripts, changing - to _ for consistency.Damien George2014-07-05
| | | | | | From now on, all new tests must use underscore. Addresses issue #727.
* objint: Implement int.from_bytes() class method and .to_bytes() method.Paul Sokolovsky2014-04-09
These two are apprerently the most concise and efficient way to convert int to/from bytes in Python. The alternatives are struct and array modules, but methods using them are more verbose in Python code and less efficient in memory/cycles.