Re: [TCLCORE] Another TIP 280 Q
by Andreas Kupries other posts by this author
Feb 26 2007 11:31AM messages near this date
Re: [TCLCORE] Another TIP 280 Q
|
[TCLCORE] TIP 280: cross-interp leakage?
> Andreas Kupries wrote:
> > Only the moment you start running code from a file, either
> > implicitly sourced by the tclsh, or explicitly in your C code,
> or you do an
> > 'eval' at C level, will you have a context in which you can
> count lines, and
> > which has a type.
>
> I was under the impression that a call to Tcl_EvalObjv() counted as
> "an 'eval' at C level". If that's my error, some additional docs on
> the point should be enough.
>
> > I am not sure if putting in a fake context for this situation will help
> > much. What do you think the type of that context should be ?
>
> I was expecting to see the same result as if my code did
>
> Tcl_Eval(interp, "info frame 0");
Hm. Yes. I think this requires source-diving to re-familiarize myself with
the code in that area, see which of the eval routines does what. I am not
sure when I have a slot of free time for this.
--
Andreas Kupries <andreask@[...].com>
Developer @ http://www.ActiveState.com
Tel: +1 778-786-1122
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcl-Core mailing list
Tcl-Core@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-core
Thread:
dgp
Andreas Kupries
Donald G Porter
Andreas Kupries
Donald G Porter
Andreas Kupries
|