- 10 Jun, 2011 4 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Victor Stinner authored
-
Victor Stinner authored
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 Jun, 2011 5 commits
-
-
R David Murray authored
Original fix by 'rep', final patch (with tests) by Xuanji Li.
-
R David Murray authored
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 authored
Issue #12168: SysLogHandler now allows NUL termination to be controlled using a new 'append_nul' attribute on the handler.
-
Brian Curtin authored
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 authored
-
- 08 Jun, 2011 3 commits
-
-
Brian Curtin authored
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 authored
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 authored
-
- 07 Jun, 2011 4 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
-
Łukasz Langa authored
-
Victor Stinner authored
-
- 06 Jun, 2011 1 commit
-
-
Éric Araujo authored
-
- 05 Jun, 2011 4 commits
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
- 04 Jun, 2011 2 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
- 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 Jun, 2011 5 commits
-
-
Victor Stinner authored
test_multibytecodec_support. Improve also error message of the test_errorhandle() of TestBase.
-
Victor Stinner authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Raymond Hettinger authored
-
- 01 Jun, 2011 8 commits
-
-
Raymond Hettinger authored
-
Éric Araujo authored
-
Victor Stinner authored
descriptor of a pipe closed in the parent process is valid in the child process according to fstat(), but the mode of the file descriptor is invalid, and read or write raise an error. Add also requires_mac_ver() decorator to test.support.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 31 May, 2011 4 commits
-
-
Benjamin Peterson authored
-
Victor Stinner authored
constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan.
-
Éric Araujo authored
-
Éric Araujo authored
-