- 02 Mar, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
SF patch #404564, Gregor Hoffleit.
-
- 01 Mar, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
giving it a slight facelift
-
- 19 Şub, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 15 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 14 Ock, 2001 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
-
- 13 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
pid across threads (but in that case, it's still the same process, and so still sharing the "template" cache in tempfile.py). Repaired that, and added a new std test. On Linux, someone please run that standalone with more files and/or more threads; e.g., python lib/test/test_threadedtempfile.py -f 1000 -t 10 to run with 10 threads each creating (and deleting) 1000 temp files.
-
- 12 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
Tested on Windows. Should be tested on Linux. Should also be tested on some platform without threads (I simulated that by making the "import thread" fail, but that's not the same as actually doing it!).
-
- 29 Agu, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This helps on 4.4BSD-based systems.
-
- 24 Nis, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This uses the same precautions when trying to find a temporary directory as when the actual tempfile is created (using O_CREAT and O_EXCL). On non-posix platforms, nothing is changed.
-
- 04 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
-
- 01 Haz, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
these happen to be 'closed' and 'softspace', which may change! Noted by Dave Ascher (with slightly different solution).
-
- 24 Eki, 1998 2 kayıt (commit)
-
-
Guido van Rossum yazdı
unlink() or fdopen() fail, close the file descriptor and re-raise the exception.
-
Guido van Rossum yazdı
filenames generated are easily predictable, it is possible to trick an unsuspecting program into overwriting another file by creating a symbolic link with the predicted name. Fix this by using the low-level os.open() function with the O_EXCL flag and mode 0700. On non-Unix platforms, presumably there are no symbolic links so the problem doesn't exist. The explicit test for Unix (posix, actually) makes it possible to change the non-Unix logic to work without a try-except clause. The mktemp() file is as unsafe as ever.
-
- 14 Eki, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
recalculated.
-
- 28 Nis, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
(Jack)
-
- 09 Nis, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
fall back to using os.curdir instead; if it is fine, don't use os.curdir at all.
-
- 26 Mar, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 19 Ara, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
the temporary file name. Also some minor formatting of Jim F's code.
-
- 15 Ara, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 12 Agu, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Look in more env vars (for NT: TEMP, TMP).
-
- 11 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 20 Agu, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 08 Agu, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 28 May, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 31 Mar, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
./
-
- 14 Ock, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 26 Ara, 1991 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 12 Kas, 1991 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-