Message75337
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. |
|
Date |
User |
Action |
Args |
2008-10-30 00:08:01 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc |
2008-10-30 00:08:01 | amaury.forgeotdarc | set | messageid: <1225325281.06.0.202625450166.issue4233@psf.upfronthosting.co.za> |
2008-10-30 00:08:00 | amaury.forgeotdarc | link | issue4233 messages |
2008-10-30 00:07:59 | amaury.forgeotdarc | create | |
|