Gareth Rees <g...@garethrees.org> added the comment: > Wouldn't you also have to deal with possible errors from the PyInt_AsLong > call?
Good point. But I note that Python 3 just does exitcode = (int)PyLong_AsLong(value); so maybe it's not important to do error handling here. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14376> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com