- 16 Haz, 2011 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 15 Haz, 2011 1 kayıt (commit)
-
-
Éric Araujo yazdı
-
- 14 Haz, 2011 1 kayıt (commit)
-
-
Brian Curtin yazdı
After 1a3e8db28d49, Windows XP could not os.stat at all due to raising immediately when GetFinalPathNameByHandle wasn't available (pre-Vista). The proper behavior in that situation is to just not attempt a traversal rather than outright rejecting. This change additionally handles a failed malloc by setting the error code and returning false. Patch by Hirokazu Yamamoto.
-
- 13 Haz, 2011 2 kayıt (commit)
-
-
Brian Curtin yazdı
-
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).
-
- 12 Haz, 2011 1 kayıt (commit)
-
-
Vinay Sajip yazdı
-
- 11 Haz, 2011 8 kayıt (commit)
-
-
Vinay Sajip yazdı
-
Benjamin Peterson yazdı
This allows findsource() to work in doctests. A patch from Dirkjan Ochtman.
-
Éric Araujo yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
- 10 Haz, 2011 5 kayıt (commit)
-
-
Vinay Sajip yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Just try to open files from the ZIP for reading, don't extract them to avoid UnicodeEncodeError if the filename is not encodable to the filesystem encoding (e.g. ASCII locale encoding).
-
- 09 Haz, 2011 5 kayıt (commit)
-
-
R David Murray yazdı
Original fix by 'rep', final patch (with tests) by Xuanji Li.
-
R David Murray yazdı
I unfortunately introduced the regression when I refactored the code, and there were no tests of quoting so it wasn't caught. Now there is one.
-
Vinay Sajip yazdı
Issue #12168: SysLogHandler now allows NUL termination to be controlled using a new 'append_nul' attribute on the handler.
-
Brian Curtin yazdı
Rather than wrapping the C _isdir function in a Python function, just import the C _isdir function directly. Additionally, add in the docstring which was left out.
-
Éric Araujo yazdı
-
- 08 Haz, 2011 3 kayıt (commit)
-
-
Brian Curtin yazdı
By changing to the Windows GetFileAttributes API in nt._isdir we can figure out if the path is a directory without opening the file via os.stat. This has the minor benefit of speeding up os.path.isdir by at least 2x for regular files and 10-15x improvements were seen on symbolic links (which opened the file multiple times during os.stat). Since os.path.isdir is used in several places on interpreter startup, we get a minor speedup in startup time.
-
Éric Araujo yazdı
Extract of the commit message: Fix usage of :option: in the docs (#9312). :option: is used to create a link to an option of python, not to mark up any instance of any arbitrary command-line option. These were changed to ````.
-
Éric Araujo yazdı
-
- 07 Haz, 2011 4 kayıt (commit)
-
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Łukasz Langa yazdı
-
Victor Stinner yazdı
-
- 06 Haz, 2011 1 kayıt (commit)
-
-
Éric Araujo yazdı
-
- 05 Haz, 2011 4 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 04 Haz, 2011 2 kayıt (commit)
-
-
Éric Araujo yazdı
-
Éric Araujo yazdı
- Rename reST target name for collections ABCs to avoid collisions - Add link to importlib ABCs (collections, numbers and io ABCs were already linked) - Link to glossary entry from numbers module doc (other modules already do it)
-
- 03 Haz, 2011 2 kayıt (commit)
-
-
Victor Stinner yazdı
test_multibytecodec_support. Improve also error message of the test_errorhandle() of TestBase.
-
Victor Stinner yazdı
-