Patches item #723201, was opened at 2003-04-18 01:03 Message generated for change (Comment added) made by mdehoon You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=723201&group_id=5470
Category: Core (C code) Group: None Status: Open Resolution: None Priority: 5 Submitted By: Thomas Heller (theller) Assigned to: Nobody/Anonymous (nobody) Summary: PyArg_ParseTuple problem with 'L' format Initial Comment: PyArg_ParseTuple(tup, "B", &value) will raise 'Bad Argument to internal function' if the object is not a Python integer or long. I believe the patch fixes the problem, but it is untested. This problem probably exists since 2.2. ---------------------------------------------------------------------- Comment By: Michiel de Hoon (mdehoon) Date: 2005-01-19 13:04 Message: Logged In: YES user_id=488897 I can replicate this bug with the "L" format but not with "B". Is the 'B' in PyArg_ParseTuple(tup, "B", &value) a typo? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=723201&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
