Context-aware return

Sven R. Kunze srkunze at
Thu Sep 10 20:34:11 CEST 2015

On 10.09.2015 20:14, Ben Finney wrote:
> "Sven R. Kunze" <srkunze at> writes:
> I'm pretty sure Steven knows full well the answer to that question,
> which is not anything like the one he asked. Would you care to read the
> question he did ask?
You are right. I turned out to me harder that I first thought.

My initial guess was like: use AST. But now I see, it would be hard to 
get the source code.

So, what actually could work, would be faking the interactive 
interpreter wrapping it up and thus have control over the source code 
typed in.


More information about the Python-list mailing list