When sending integer (int or long in Python) from Python to C, the value will be...
authorErnesto Ferro <ernestoferro@gmail.com>
Wed, 5 Jun 2013 04:16:41 +0000 (23:16 -0500)
committerErnesto Ferro <ernestoferro@gmail.com>
Wed, 5 Jun 2013 04:16:41 +0000 (23:16 -0500)
commitf8196189741ce7cb1df04759d1a9d7d4e4fd1ede
tree2157514ef9bdcd38431314be07fe0404511e4007
parent9251745767f5e4a5ddc25f462028da5444ed4aa3
When sending integer (int or long in Python) from Python to C, the value will be converted to its type in C (long or long long) as long as there is no overflow. If there is overflow, an exception is raised.
shedskin/lib/builtin.cpp
tests/e3/blah.py [new file with mode: 0644]
tests/e3/main.py [new file with mode: 0644]