rustpython 0.1.0

A python interpreter written in rust.
1
2
3
4
5
6
from testutils import assert_raises

assert hex(16) == '0x10'
assert hex(-16) == '-0x10'

assert_raises(TypeError, lambda: hex({}), 'ord() called with dict')