]> granicus.if.org Git - python/commit
#10053: Don't close FDs when FileIO.__init__ fails
authorHynek Schlawack <hs@ox.cx>
Thu, 21 Jun 2012 17:45:19 +0000 (19:45 +0200)
committerHynek Schlawack <hs@ox.cx>
Thu, 21 Jun 2012 17:45:19 +0000 (19:45 +0200)
commit9bd4bf2a3d0426ee3830e89854ecf4bea03ac830
treef75e9f2cb4374fd0e4ce88578e0b2552876ace70
parent4215d2738a44be9eca09eb7b48c31ed805c8fb60
#10053: Don't close FDs when FileIO.__init__ fails

Loosely based on the work by Hirokazu Yamamoto.
Lib/test/test_fileio.py
Misc/NEWS
Modules/_io/fileio.c