fix: use 'int.to_bytes' and 'int.from_bytes' for py3 (#904) 
2 files changed