Message75337
| 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: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 |
|