[Python-checkins] python/dist/src/Misc NEWS,1.822,1.823

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Mon, 21 Jul 2003 19:50:03 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv30780/Misc

Modified Files:
	NEWS 
Log Message:
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).


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.822
retrieving revision 1.823
diff -C2 -d -r1.822 -r1.823
*** NEWS	21 Jul 2003 17:17:10 -0000	1.822
--- NEWS	22 Jul 2003 02:50:01 -0000	1.823
***************
*** 40,43 ****
--- 40,46 ----
  -------
  
+ - The tempfile module could do insane imports on Windows if PYTHONCASEOK
+   was set, making temp file creation impossible.  Repaired.
+ 
  Mac
  ---