with statements does not delete the object
yves at zioup.com
yves at zioup.com
Thu Sep 22 01:24:03 EDT 2011
More information about the Python-list mailing list
Thu Sep 22 01:24:03 EDT 2011
- Previous message (by thread): Python deadlock using subprocess.popen and communicate
- Next message (by thread): with statements does not delete the object
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Is this the expected behaviour:
with mylib.token() as t:
do_something
dir()
In the last dir(), after the with "loop" is finished, t still shows up... I
expected it to be unreferenced by then.
--
Yves. http://www.SollerS.ca/
http://ipv6.SollerS.ca
http://blog.zioup.org/
- Previous message (by thread): Python deadlock using subprocess.popen and communicate
- Next message (by thread): with statements does not delete the object
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list