[issue24944] traceback when using tempfile module on windows

2015-08-27 Thread STINNER Victor
STINNER Victor added the comment: Hi, do you have a file called fcntl.py in your project? Try: import fcntl fcntl.__file__ '/usr/lib64/python2.7/lib-dynload/fcntlmodule.so' This module should be available on Windows. -- nosy: +haypo ___ Python

[issue24944] traceback when using tempfile module on windows

2015-08-27 Thread Hassan El Karouni
New submission from Hassan El Karouni: Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. import tempfile tempfile.mkstemp() Traceback (most recent call last): File stdin, line 1, in module File