- 10 Haz, 2011 17 kayıt (commit)
-
-
Éric Araujo yazdı
-
Éric Araujo yazdı
Original patch by Erik Bray.
-
Éric Araujo yazdı
Original patch by Erik Bray as part of #11595, changed by me to improve readability.
-
Éric Araujo yazdı
-
Éric Araujo yazdı
Original patch by Tshepang Lekhonkhobe.
-
Victor Stinner 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).
-
Victor Stinner yazdı
The new tests now requires pthread_sigmask(). Skip the test if the function is missing, e.g. if Python is compiled without threads.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Block the signal before calling sigwait(). Use os.fork() to ensure that we have only one thread. Initial patch written by Charles-François Natali.
-
Ross Lagerwall yazdı
-
Éric Araujo yazdı
packaging.util.check_environ will define HOME and PLAT if they don’t exist; for some reason, it does not define PLAT when running the tests from a checkout (so no regrtest warning) but does when running from an installed Python. Cleaning up the envvar in test_dist fixes the warning on my machine, but I suspect that a test runner using a different order to run files or running them in parallel may have PLAT defined in its environment because of another test. Quite a lot of code ends up calling check_environ; maybe we should just clean up PLAT in every test. For now I’m doing this simple fix, we’ll see if we get bug reports.
-
Éric Araujo yazdı
The code does not write checksum or file length for .pyc and .pyo in the RECORD file, in compliance with PEP 376, but the test forgot to take .pyo into account. This was not caught because there were no .pyo in the checkout, but after installing there are .pyo files created by compileall, and the test picks them up.
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
- 09 Haz, 2011 21 kayıt (commit)
-
-
Victor Stinner yazdı
Initial patch by Charles-François Natali.
-
Brian Curtin yazdı
Windows 9x has long been unsupported and the result of GetFullPathName was not even being used in the first place.
-
R David Murray yazdı
-
R David Murray yazdı
Original fix by 'rep', final patch (with tests) by Xuanji Li.
-
R David Murray yazdı
-
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ı
-
Vinay Sajip yazdı
-
R David Murray yazdı
Fix and initial test patch by Michele Orrù.
-
Vinay Sajip yazdı
-
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ı
-
Éric Araujo yazdı
-
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ı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
-
Éric Araujo yazdı
The example C extension used the “three.fast_taunt” name, but no “three” parent was defined in the setup.cfg. This did not cause a failure nor even print a warning, we may want to change that.
-
- 08 Haz, 2011 2 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.
-
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.
-