1. 16 Haz, 2006 1 kayıt (commit)
  2. 11 May, 2006 1 kayıt (commit)
  3. 06 May, 2006 1 kayıt (commit)
  4. 11 Ock, 2005 1 kayıt (commit)
  5. 18 Tem, 2004 1 kayıt (commit)
  6. 10 Kas, 2003 1 kayıt (commit)
  7. 09 Kas, 2003 1 kayıt (commit)
  8. 12 Eki, 2003 1 kayıt (commit)
  9. 22 Tem, 2003 1 kayıt (commit)
    • Tim Peters's avatar
      Windows fix: When PYTHONCASEOK is set, or for any other reason imports · 291f14e3
      Tim Peters yazdı
      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).
      291f14e3
  10. 21 Mar, 2003 1 kayıt (commit)
  11. 30 Ara, 2002 1 kayıt (commit)
  12. 22 Kas, 2002 1 kayıt (commit)
  13. 21 Kas, 2002 2 kayıt (commit)
  14. 17 Agu, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      Get rid of _once(); inlining it takes less code. :-) · e888cdc6
      Guido van Rossum yazdı
      Also, don't call gettempdir() in the default expression for the 'dir'
      argument to various functions; use 'dir=None' for the default and
      insert 'if dir is None: dir = gettemptir()' in the bodies.  That way
      the work done by gettempdir is postponed until needed.
      e888cdc6
  15. 14 Agu, 2002 3 kayıt (commit)
    • Tim Peters's avatar
      tempfile's mkstemp(): Changed last argument from · 04490bf2
      Tim Peters yazdı
          binary=True
      to
          text=False
      
      by BDFL Pronouncement.  All other changes follow from this.  The change
      to the docs is ready to go, but blocked by another JackMacLock in the
      doc directory.
      04490bf2
    • Jason Tishler's avatar
      Patch #595014: Cygwin tempfile patch · 80c02af3
      Jason Tishler yazdı
      Although Cygwin attempts to be as Posix compliant
      as possible, it has difficulties unlinking open
      files. This is not surprising given that Cygwin is
      dependent on Win32 which in turn has this problem
      itself.
      
      The attached tempfile patch acknowledges this
      Cygwin limitation. Without this patch, Cygwin
      fails test_tempfile (i.e., test_has_no_name) as
      follows:
      
      $ ./python -E -tt ../Lib/test/regrtest.py -l test_tempfile
      test_tempfile
      test test_tempfile failed -- Traceback (most recent call last):
        File "/home/jt/src/PythonCvs/Lib/test/test_tempfile.py", line 689, in test_has_no_name
          self.failOnException("rmdir", ei)
        File "/home/jt/src/PythonCvs/Lib/test/test_tempfile.py", line 33, in failOnException
          self.fail("%s raised %s: %s" % (what, ei[0], ei[1]))
        File "/home/jt/src/PythonCvs/Lib/unittest.py", line 260, in fail
          raise self.failureException, msg
      AssertionError: rmdir raised exceptions.OSError: [Errno 90] Directory not empty: '/mnt/c/DOCUME~1/jatis/LOCALS~1/Temp/tmpM_z8nj'
      80c02af3
    • Tim Peters's avatar
      d41bf348
  16. 13 Agu, 2002 5 kayıt (commit)
  17. 09 Agu, 2002 2 kayıt (commit)
  18. 01 Haz, 2002 1 kayıt (commit)
  19. 24 Mar, 2002 1 kayıt (commit)
  20. 30 Ock, 2002 2 kayıt (commit)
    • Tim Peters's avatar
      Thanks to Detlef Lannert for pointing out a typo in the code that · 40915bf8
      Tim Peters yazdı
      uses _DummyMutex on platforms without threads.
      40915bf8
    • Tim Peters's avatar
      New TemporaryFile implementation for Windows: this doesn't need a · c7349ee2
      Tim Peters yazdı
      TemproraryFileWrapper wrapper anymore, and should be immune from the
      problem that a temp file inherited by a spawned process caused an
      attempt to close the temp file in the spawning process to blow
      up (the unlink in TemporaryFileWrapper.close() blew up with a
      "Permission denied" error because, despite that the temp file got
      closed in the spawning process, the spawned process still had it open
      by virtue of C-level file descriptor inheritance).  In context,
      that bug took days to figure out <wink/sigh>.
      c7349ee2
  21. 28 Ock, 2002 1 kayıt (commit)
    • Tim Peters's avatar
      SF bug #509805 tempfile.gettempdir not threadsafe · 4fd5a065
      Tim Peters yazdı
      This is an ancient race when multiple threads call gettempdir() (or
      anything relying on it) for the first time.
      
      Fixed x-platform via the Big Hammer of rearranging the code to serialize
      the first calls.  Subsequent calls are as fast as before.
      
      Note that the Python test suite can't provoke this bug:  it requires
      setting up multiple threads making the very first calls into tempfile,
      but the test suite uses tempfile several times before getting to
      test_threadedtempfile.
      
      Bugfix candidate.
      4fd5a065
  22. 18 Ara, 2001 2 kayıt (commit)
  23. 29 Eki, 2001 1 kayıt (commit)
  24. 24 Eki, 2001 1 kayıt (commit)
  25. 02 Mar, 2001 1 kayıt (commit)
  26. 01 Mar, 2001 1 kayıt (commit)
  27. 19 Şub, 2001 1 kayıt (commit)
  28. 15 Ock, 2001 1 kayıt (commit)
  29. 14 Ock, 2001 2 kayıt (commit)