[Patches] [ python-Patches-957398 ] Public Generator Object/Type

SourceForge.net noreply at sourceforge.net
Mon May 31 14:30:45 EDT 2004


Patches item #957398, was opened at 2004-05-20 15:59
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=957398&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: Public Generator Object/Type

Initial Comment:
Here the patches/files for public generator object/type.
removal patch for ceval.c

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

>Comment By: Martin v. Löwis (loewis)
Date: 2004-05-31 20:30

Message:
Logged In: YES 
user_id=21627

What is the purpose of this patch?

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

Comment By: James William Pye (jwpye)
Date: 2004-05-20 18:09

Message:
Logged In: YES 
user_id=1044177

Ok, got it to compile, and tried out a simple generator;
seems to be fine..

Probably should have asked first, but I'm assuming(yay) that
it was desired to draw it inline with *object.[ch]
organization protocol..

Only gotcha appears to be that genobject.c, of course,
references eval_frame, so I just wrapped a call to it in
eval.c with a non-static function(PyEval_EvaluateFrame()),
this is probably not be what python-dev would like.. I
mostly did it like this to get it to compile.(probably a bad
idea, and should probably reference it directly. no need for
an extra layer of function call overhead...)

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

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



More information about the Patches mailing list