[issue5175] negative PyLong -> C unsigned integral, TypeError or OverflowError?
report at bugs.python.org
Tue Feb 10 12:47:04 CET 2009
Lisandro Dalcin <dalcinl at gmail.com> added the comment:
Mark, here you have a patch. I've only 'make test' on a 32bit Linux box
Just two comments:
- in docs: perhaps the 'versionchanged' stuff should be added.
- in tests: I did not touch Modules/_testcapimodule.c, as it seems the
test is covered. However, note that in all these tests, actual exception
types are not checked)
Added file: http://bugs.python.org/file13010/negative-to-unsigned.diff
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list