[Python-Dev] Problem with inspect and PEP 302
Phillip J. Eby
pje at telecommunity.com
Sun Apr 30 21:00:15 CEST 2006
At 12:13 PM 4/30/2006 +0200, Georg Brandl wrote:
>Recently, the inspect module was updated to conform with PEP 302.
>
>Now this is broken:
>
> >>> import inspect
> >>> inspect.stack()
>
>The traceback shows clearly what's going on. However, I don't know how
>to resolve the problem.
The problem as that '<string>' and '<stdin>' filenames were producing an
infinite regress. I've checked in a fix.
More information about the Python-Dev
mailing list