[Patches] [ python-Patches-966493 ] Cleanup generator/eval_frame exposure

SourceForge.net noreply at sourceforge.net
Fri Jun 4 08:58:32 EDT 2004


Patches item #966493, was opened at 2004-06-04 05:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=966493&group_id=5470

Category: Core (C code)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: James William Pye (jwpye)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cleanup generator/eval_frame exposure

Initial Comment:
Hopefully get this cleanup in before 2.4..

. Include genobject.h in Python.h to save embedders an
AC check to identify its existance(allowing a simple
#ifndef Py_GENOBJECT_H)
. Follow up my own recommendation to just reference
eval_frame directly by exposing it(change references in
ceval.c and genobject.c accordingly).
. Update headers accordingly; reference frameobject in
genobject.h and ceval.h as struct _frame * like others
do to avoid including frameobject.h

Rename PyEval_EvaluateFrame to PyEval_EvalFrame to be
consistent with PyEval_EvalCode[Ex] in eval.h.

Hopefully it isnt too late to change this before 2.4,
sorry for not having it in the first patch.. :-(

Changes files:

genobject.c
genobject.h
ceval.c
ceval.h
Python.h

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

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



More information about the Patches mailing list