Staging
v0.8.1
v0.8.1
Revision 29094cec7cddd561cac16ce93443ca72d740de4d authored by Nir Soffer on 26 July 2017, 23:24:52 UTC, committed by Victor Stinner on 26 July 2017, 23:24:52 UTC
* bpo-30980: Fix close test to fail test_close_twice was not considering the fact that file_wrapper is duping the file descriptor. Closing the original descriptor left the duped one open, hiding the fact that close protection is not effective. * bpo-30980: Fix double close protection Invalidated self.fd before closing, handling correctly the case when os.close raises. * bpo-30980: Fix fd leak introduced in the fixed test
1 parent 0cba38d
File | Mode | Size |
---|---|---|
Python-ast.c | -rw-r--r-- | 271.1 KB |
_warnings.c | -rw-r--r-- | 25.7 KB |
asdl.c | -rw-r--r-- | 1.4 KB |
ast.c | -rw-r--r-- | 107.5 KB |
atof.c | -rw-r--r-- | 1016 bytes |
bltinmodule.c | -rw-r--r-- | 87.0 KB |
ceval.c | -rw-r--r-- | 154.8 KB |
codecs.c | -rw-r--r-- | 29.5 KB |
compile.c | -rw-r--r-- | 108.6 KB |
dtoa.c | -rw-r--r-- | 80.4 KB |
dup2.c | -rw-r--r-- | 705 bytes |
dynload_aix.c | -rw-r--r-- | 5.7 KB |
dynload_atheos.c | -rw-r--r-- | 1.2 KB |
dynload_beos.c | -rw-r--r-- | 7.0 KB |
dynload_dl.c | -rw-r--r-- | 561 bytes |
dynload_hpux.c | -rw-r--r-- | 1.5 KB |
dynload_next.c | -rw-r--r-- | 3.9 KB |
dynload_os2.c | -rw-r--r-- | 1.2 KB |
dynload_shlib.c | -rw-r--r-- | 3.6 KB |
dynload_stub.c | -rw-r--r-- | 202 bytes |
dynload_win.c | -rw-r--r-- | 9.2 KB |
errors.c | -rw-r--r-- | 22.6 KB |
formatter_string.c | -rw-r--r-- | 652 bytes |
formatter_unicode.c | -rw-r--r-- | 512 bytes |
frozen.c | -rw-r--r-- | 1.2 KB |
frozenmain.c | -rw-r--r-- | 1.4 KB |
future.c | -rw-r--r-- | 4.4 KB |
getargs.c | -rw-r--r-- | 57.2 KB |
getcompiler.c | -rw-r--r-- | 366 bytes |
getcopyright.c | -rw-r--r-- | 503 bytes |
getcwd.c | -rw-r--r-- | 1.5 KB |
getopt.c | -rw-r--r-- | 3.5 KB |
getplatform.c | -rw-r--r-- | 130 bytes |
getversion.c | -rw-r--r-- | 289 bytes |
graminit.c | -rw-r--r-- | 41.9 KB |
import.c | -rw-r--r-- | 100.5 KB |
importdl.c | -rw-r--r-- | 2.2 KB |
importdl.h | -rw-r--r-- | 1.0 KB |
mactoolboxglue.c | -rw-r--r-- | 13.8 KB |
makeopcodetargets.py | -rwxr-xr-x | 1.3 KB |
marshal.c | -rw-r--r-- | 38.5 KB |
modsupport.c | -rw-r--r-- | 17.3 KB |
mysnprintf.c | -rw-r--r-- | 3.3 KB |
mystrtoul.c | -rw-r--r-- | 7.9 KB |
opcode_targets.h | -rw-r--r-- | 6.2 KB |
peephole.c | -rw-r--r-- | 22.8 KB |
pyarena.c | -rw-r--r-- | 5.5 KB |
pyctype.c | -rw-r--r-- | 7.7 KB |
pyfpe.c | -rw-r--r-- | 623 bytes |
pymath.c | -rw-r--r-- | 1.5 KB |
pystate.c | -rw-r--r-- | 19.2 KB |
pystrcmp.c | -rw-r--r-- | 613 bytes |
pystrtod.c | -rw-r--r-- | 39.0 KB |
pythonrun.c | -rw-r--r-- | 55.5 KB |
random.c | -rw-r--r-- | 11.7 KB |
sigcheck.c | -rw-r--r-- | 529 bytes |
strdup.c | -rw-r--r-- | 256 bytes |
strtod.c | -rw-r--r-- | 5.6 KB |
structmember.c | -rw-r--r-- | 10.4 KB |
symtable.c | -rw-r--r-- | 47.7 KB |
sysmodule.c | -rw-r--r-- | 52.2 KB |
thread.c | -rw-r--r-- | 11.2 KB |
thread_atheos.h | -rw-r--r-- | 5.8 KB |
thread_beos.h | -rw-r--r-- | 5.9 KB |
thread_cthread.h | -rw-r--r-- | 2.3 KB |
thread_foobar.h | -rw-r--r-- | 1.4 KB |
thread_lwp.h | -rw-r--r-- | 2.8 KB |
thread_nt.h | -rw-r--r-- | 8.6 KB |
thread_os2.h | -rw-r--r-- | 5.7 KB |
thread_pth.h | -rw-r--r-- | 4.6 KB |
thread_pthread.h | -rw-r--r-- | 13.6 KB |
thread_sgi.h | -rw-r--r-- | 8.0 KB |
thread_solaris.h | -rw-r--r-- | 2.6 KB |
thread_wince.h | -rw-r--r-- | 3.5 KB |
traceback.c | -rw-r--r-- | 8.4 KB |
Computing file changes ...