[Patches] [ python-Patches-542659 ] PyCode_New NULL parameters cleanup

noreply@sourceforge.net noreply@sourceforge.net
Thu, 11 Apr 2002 13:38:20 -0700


Patches item #542659, was opened at 2002-04-11 22:38
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=542659&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Olivier Dormond (odormond)
Assigned to: Nobody/Anonymous (nobody)
Summary: PyCode_New NULL parameters cleanup

Initial Comment:
This patch remove the creation of an empty tuple for
freevars or cellvars if they are equal to NULL because
this case is handle earlier (at the same time all the
other parameters are checked) by raising a
PyErr_BadInternalCall.

It's almost a oneliner.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=542659&group_id=5470