- 10 Jun, 2011 5 commits
-
-
Victor Stinner authored
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 authored
-
Victor Stinner authored
-
Victor Stinner authored
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 authored
-
- 09 Jun, 2011 21 commits
-
-
Victor Stinner authored
Initial patch by Charles-François Natali.
-
Brian Curtin authored
Windows 9x has long been unsupported and the result of GetFullPathName was not even being used in the first place.
-
R David Murray authored
-
R David Murray authored
Original fix by 'rep', final patch (with tests) by Xuanji Li.
-
R David Murray authored
-
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
-
Vinay Sajip authored
-
R David Murray authored
Fix and initial test patch by Michele Orrù.
-
Vinay Sajip authored
-
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
-
Éric Araujo authored
-
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
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
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 Jun, 2011 12 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.
-
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.
-
Charles-François Natali authored
Lehtinen.
-
Antoine Pitrou authored
children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock.
-
É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 ````.
-
Brett Cannon authored
-
Éric Araujo authored
-
Éric Araujo authored
Such tests are IMO easier to read if both operators are grouped.
-
Éric Araujo authored
This helps debugging in case of trailing blanks and such things.
-
Éric Araujo authored
-
Éric Araujo authored
Namely: use default arguments instead of explicit empty string; use multiple arguments instead of building strings.
-
Éric Araujo authored
-
- 07 Jun, 2011 2 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
-