diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-07-22 02:50:01 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-07-22 02:50:01 (GMT) |
commit | 291f14e3d386714ea937489e1863bed7f818a970 (patch) | |
tree | f2b38ea809507e844dfded6ccde43e328470eaa7 /Misc | |
parent | f1c9869ab016f041d2ae9e63b1e17983cc8a2826 (diff) | |
download | cpython-291f14e3d386714ea937489e1863bed7f818a970.zip cpython-291f14e3d386714ea937489e1863bed7f818a970.tar.gz cpython-291f14e3d386714ea937489e1863bed7f818a970.tar.bz2 |
Windows fix: When PYTHONCASEOK is set, or for any other reason imports
are satisfied in a case-insensitive manner, the attempt to import (the
non-existent) fcntl gets satisfied by FCNTL.py instead, and the tempfile
module defines a Unix-specific _set_cloexec() function in that case. As
a result, temp files can't be created then (blows up with an AttributeError
trying to reference fcntl.fcntl). This just popped up in the spambayes
project, where there is no apparent workaround (which is why I'm pushing
this in now).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -39,6 +39,9 @@ C API Windows ------- +- The tempfile module could do insane imports on Windows if PYTHONCASEOK + was set, making temp file creation impossible. Repaired. + Mac --- |