[Patches] [ python-Patches-654960 ] remove unnecessary static variable

noreply@sourceforge.net noreply@sourceforge.net
Mon, 16 Dec 2002 17:46:22 -0800


Patches item #654960, was opened at 2002-12-16 20:46
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=654960&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: remove unnecessary static variable

Initial Comment:
There is a static object in compile.c,
symtable_load_symbols():  implicit = PyInt_FromLong(1);

I think this should be the same as Py_True now.  This
patch removes the static and uses Py_True.

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

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