This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients lars.gustaebel, paul.moore, pitrou
Date 2009-11-18.20:36:30
SpamBayes Score 2.6635323e-07
Marked as misclassified No
Message-id <1258576607.3476.7.camel@localhost>
In-reply-to <1258576467.71.0.230250625989.issue7341@psf.upfronthosting.co.za>
Content
> Alright then. I applied the change to the trunk (r76381) and py3k
> (r76383). What about release26-maint and release31-maint? IMO this is
> not necessary.

Unless it might cause compatibility concerns I think it would be better
to backport it.
In general it's bad to rely on reference counting to automatically close
files. The object could be hanging on a traceback, or you could be
running on a Python implementation with a different GC strategy.
History
Date User Action Args
2009-11-18 20:36:32pitrousetrecipients: + pitrou, paul.moore, lars.gustaebel
2009-11-18 20:36:31pitroulinkissue7341 messages
2009-11-18 20:36:31pitroucreate