]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
TemporaryFileWrapper: cache the value of os.unlink for use by __del__,
authorTim Peters <tim.peters@gmail.com>
Tue, 18 Dec 2001 22:32:40 +0000 (22:32 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 18 Dec 2001 22:32:40 +0000 (22:32 +0000)
commita255a72f0a5d33c1d28547dfb2f7d320a2ca1773
treee6fdc38e247b1742a9901edd9ff0a6ebc1ca38a0
parent99d2fbb8236dc792d7e3762cf1d7419405db4752
TemporaryFileWrapper:  cache the value of os.unlink for use by __del__,
to prevent mysterious errors at shutdown due to "os.unlink" turning into
"None.unlink".
Lib/tempfile.py