On 18/11/19 8:17 am, Oscar Benjamin wrote:
PEP 343 gives the example of
"opened"  which doesn't have this problem
https://www.python.org/dev/peps/pep-0343/#examples
but apparently that didn't make it to the final release of 2.5 (I
guess that's what Greg is referring to).

Probably. I may also have mixed it up with closing(), which
does something different.

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/AS466ZD7RCOENU6Y4KIJU6ZRRQ7HQDA5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to