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 pitrou
Date 2012-07-29.17:56:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343584592.55.0.343269676926.issue15488@psf.upfronthosting.co.za>
In-reply-to
Content
>>> f = open("LICENSE", "rb")
>>> sys.getsizeof(f)
4296
>>> f.close()
>>> sys.getsizeof(f)
4296

Instead of waiting for the file object's deallocation, perhaps we should free the buffer when it is closed?
History
Date User Action Args
2012-07-29 17:56:32pitrousetrecipients: + pitrou
2012-07-29 17:56:32pitrousetmessageid: <1343584592.55.0.343269676926.issue15488@psf.upfronthosting.co.za>
2012-07-29 17:56:31pitroulinkissue15488 messages
2012-07-29 17:56:31pitroucreate