[Python-Dev] Destructors and Closing of File Objects
Armin Rigo
arigo at tunes.org
Tue Apr 30 10:49:19 CEST 2013
Hi Jeff,
On Mon, Apr 29, 2013 at 11:58 PM, Jeff Allen <"ja...py"@farowl.co.uk> wrote:
> In Jython, (...)
Thanks Jeff for pointing this out. Jython thus uses a custom
mechanism similar to PyPy's, which is also similar to atexit's. It
should not be too hard to implement it in CPython 3 as well, if this
ends up classified as a bug. This is what my bug report was about
(sorry if I failed to be clear enough about it).
Nikolaus: the bug report contains a failing test, is that what you're
looking for?
A bientôt,
Armin.
More information about the Python-Dev
mailing list