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 amaury.forgeotdarc
Recipients amaury.forgeotdarc
Date 2008-10-30.00:07:59
SpamBayes Score 2.8368268e-05
Marked as misclassified No
Message-id <1225325281.06.0.202625450166.issue4233@psf.upfronthosting.co.za>
In-reply-to
Content
This happens with a recent py3k build:

>>> x = open(0, closefd=False)
>>> del x
C:\dev\python\py3k\lib\io.py:1461: RuntimeWarning: Trying to close 
unclosable fd!
  self.buffer.close()
C:\dev\python\py3k\lib\io.py:389: RuntimeWarning: Trying to close 
unclosable fd!
  self.close()
__main__:1: RuntimeWarning: Trying to close unclosable fd!

Also, there are no unit test for closefd.
History
Date User Action Args
2008-10-30 00:08:01amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc
2008-10-30 00:08:01amaury.forgeotdarcsetmessageid: <1225325281.06.0.202625450166.issue4233@psf.upfronthosting.co.za>
2008-10-30 00:08:00amaury.forgeotdarclinkissue4233 messages
2008-10-30 00:07:59amaury.forgeotdarccreate