[Python-Dev] Object finalization for local (ie function) scopes

"Martin v. Löwis" martin at v.loewis.de
Fri Jun 11 00:56:23 EDT 2004


Oliver Schoenborn wrote:
>>It doesn't work in Python. I believe your implementation also fails in
>>Jython (but didn't test).
> 
> 
> Unless we're talking cross-purpose here, scope.py shows it works at least in
> Python downloaded from python.org. Again, could you please be more specific,
> pointing to which part of the code is allegedly flawed or not portable?

Try running it with Jython 2.1, available from www.jython.org. I get the
error

    ImportError: no module named inspect

Regards,
Martin





More information about the Python-Dev mailing list