1. 04 Eki, 2011 4 kayıt (commit)
  2. 03 Eki, 2011 1 kayıt (commit)
  3. 19 Eyl, 2011 1 kayıt (commit)
  4. 30 Agu, 2011 1 kayıt (commit)
    • Antoine Pitrou's avatar
      Remove misleading comment and code. · 7a18d212
      Antoine Pitrou yazdı
      Windows does set the errno attribute to ENOENT, but the error message
      displays the Windows error number (3 -> ERROR_PATH_NOT_FOUND), not the
      errno number (2 -> ENOENT).
      The Unix errno corresponding to 3 is ESRCH, explaining the confusion,
      which can be seen in the following snippet:
      
      >>> shutil.rmtree("foo")
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        File "Z:\default\lib\shutil.py", line 272, in rmtree
          onerror(os.listdir, path, sys.exc_info())
        File "Z:\default\lib\shutil.py", line 270, in rmtree
          names = os.listdir(path)
      WindowsError: [Error 3] The system cannot find the path specified:
      'foo\\*.*'
      >>> e = sys.last_value
      >>> e.errno
      2
      >>> e.winerror
      3
      >>> errno.errorcode[2]
      'ENOENT'
      
      For reference, see PC/errmap.h and
      http://msdn.microsoft.com/en-us/library/ms681382%28v=vs.85%29.aspx
      7a18d212
  5. 29 Agu, 2011 1 kayıt (commit)
  6. 20 Agu, 2011 1 kayıt (commit)
    • Victor Stinner's avatar
      Issue #12326: refactor usage of sys.platform · e6747472
      Victor Stinner yazdı
       * Use str.startswith(tuple): I didn't know this Python feature, Python rocks!
       * Replace sometimes sys.platform.startswith('linux') with
         sys.platform == 'linux'
       * sys.platform doesn't contain the major version on Cygwin on Mac OS X
         (it's just 'cygwin' and 'darwin')
      e6747472
  7. 29 Tem, 2011 1 kayıt (commit)
  8. 23 Tem, 2011 2 kayıt (commit)
  9. 15 Tem, 2011 2 kayıt (commit)
  10. 14 Tem, 2011 1 kayıt (commit)
  11. 09 Tem, 2011 2 kayıt (commit)
  12. 30 Haz, 2011 1 kayıt (commit)
  13. 29 Haz, 2011 1 kayıt (commit)
  14. 13 Haz, 2011 1 kayıt (commit)
    • Brian Curtin's avatar
      Fix #12084. os.stat on Windows wasn't working properly with relative symlinks. · d25aef55
      Brian Curtin yazdı
      Use of DeviceIoControl to obtain the symlink path via the reparse tag was
      removed. The code now uses GetFinalPathNameByHandle in the case of a
      symbolic link and works properly given the added test which creates a symbolic
      link and calls os.stat on it from multiple locations.
      
      Victor Stinner also noticed an issue with os.lstat following the os.stat
      code path when being passed bytes. The posix_lstat function was adjusted to
      properly hook up win32_lstat instead of the previous STAT macro (win32_stat).
      d25aef55
  15. 07 Haz, 2011 1 kayıt (commit)
  16. 03 Haz, 2011 1 kayıt (commit)
  17. 01 Haz, 2011 2 kayıt (commit)
  18. 29 May, 2011 1 kayıt (commit)
  19. 23 May, 2011 1 kayıt (commit)
  20. 19 May, 2011 1 kayıt (commit)
  21. 14 May, 2011 5 kayıt (commit)
  22. 09 May, 2011 1 kayıt (commit)
  23. 08 May, 2011 1 kayıt (commit)
  24. 28 Nis, 2011 2 kayıt (commit)
  25. 25 Mar, 2011 1 kayıt (commit)
  26. 23 Mar, 2011 1 kayıt (commit)
  27. 15 Mar, 2011 2 kayıt (commit)