summaryrefslogtreecommitdiffstats
path: root/Misc/ACKS
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-11-10 02:16:36 (GMT)
committerGuido van Rossum <guido@python.org>2003-11-10 02:16:36 (GMT)
commitb25615939663823c462c4d441f5c808a9aa38891 (patch)
treec4bd2a883aff63188be62959228420fa1d957966 /Misc/ACKS
parentf09994e5273e358c5fc764db681bd3dafecc3e2d (diff)
downloadcpython-b25615939663823c462c4d441f5c808a9aa38891.zip
cpython-b25615939663823c462c4d441f5c808a9aa38891.tar.gz
cpython-b25615939663823c462c4d441f5c808a9aa38891.tar.bz2
mktemp() shouldn't rely on os.path.exists(), which can return False if
the file is a symlink. Instead, use os.lstat directly, if it exists; fall back on os.stat or the built-in open. Thanks to Iustin Pop.
Diffstat (limited to 'Misc/ACKS')
0 files changed, 0 insertions, 0 deletions