diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-03-03 12:26:35 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-03-03 12:26:35 (GMT) |
commit | 6ce7ed23d0449daa70f396486fae3c1014d93191 (patch) | |
tree | 9a77d8ccb6e6025159945a3a45abf401c99034f7 /Python/getargs.c | |
parent | 4bf108d74f2e36f16f4c0c00e7791e418e2d47ff (diff) | |
download | cpython-6ce7ed23d0449daa70f396486fae3c1014d93191.zip cpython-6ce7ed23d0449daa70f396486fae3c1014d93191.tar.gz cpython-6ce7ed23d0449daa70f396486fae3c1014d93191.tar.bz2 |
Revert previous checkin on getargs 'L' code. Try to convert all
numbers in PyLong_AsLongLong, and update test suite accordingly.
Backported to 2.4.
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index 0684e38..48f9dc4 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -610,7 +610,6 @@ convertsimple(PyObject *arg, char **p_format, va_list *p_va, char *msgbuf, PY_LONG_LONG *p = va_arg( *p_va, PY_LONG_LONG * ); PY_LONG_LONG ival = PyLong_AsLongLong( arg ); if( ival == (PY_LONG_LONG)-1 && PyErr_Occurred() ) { - PyErr_Clear(); return converterr("long<L>", arg, msgbuf, bufsize); } else { *p = ival; |