- 24 Jun, 2011 1 commit
-
-
R David Murray authored
The new wording is based on the comments in the code, which match the actual behavior.
-
- 23 Jun, 2011 2 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
Locks are implemented using a mutex and a condition variable of the pthread library on FreeBSD6. POSIX condition variables cannot be interrupted by signals (see pthread_cond_wait manual page).
-
- 22 Jun, 2011 2 commits
-
-
Victor Stinner authored
Cannot test an empty environment on Windows: Windows requires at least the SYSTEMROOT environment variable to start Python.
-
Victor Stinner authored
Mac OS X adds __CF_USER_TEXT_ENCODING variable to an empty environment. Fix also the test on the Py_ENABLE_SHARED config varible: test that the variable is present, don't check it's value.
-
- 21 Jun, 2011 5 commits
-
-
Victor Stinner authored
Try also to get more informations about the Mac OS X failure: display the keys of the environment, instead of just the number of variables.
-
Victor Stinner authored
variables, start with an empty environment.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 20 Jun, 2011 5 commits
-
-
Victor Stinner authored
processes if negative or null.
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
- 19 Jun, 2011 5 commits
-
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Benjamin Peterson authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
- 18 Jun, 2011 4 commits
-
-
R David Murray authored
Patch by July Tikhonov.
-
R David Murray authored
Analogous to the decode_header fix, this fix makes Header.append and make_header correctly handle the unknown-8bit charset introduced by email5.1, when the input to them is binary strings. Previous to this fix the make_header(decode_header(x)) == x invariant was broken in the face of the unknown-8bit charset.
-
R David Murray authored
This updates b21fdfa0019c, which fixed this bug incorrectly.
-
R David Murray authored
This makes them work like the close provided by regular file objects.
-
- 17 Jun, 2011 5 commits
-
-
R David Murray authored
All of the other methods in mailbox that create message objects take care to close the file descriptors they use, so it seems to make sense to have __getitem__ do so as well. Patch by Filip Gruszczyński.
-
Victor Stinner authored
Fix os.fchown() and os.open() Remove also trailing spaces and replace tabs by spaces.
-
Victor Stinner authored
-
Victor Stinner authored
AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti.
-
Victor Stinner authored
multiprocessing: Process._bootstrap() keeps a reference to the old process to delay its finalization until after _run_after_forkers() as been executed. This change should fix a crash on Mac OS X Tiger when a lock is released after a fork. Patch written by Charles-François Nataliv and Antoine Pitrou.
-
- 16 Jun, 2011 3 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Raymond Hettinger authored
-
- 15 Jun, 2011 1 commit
-
-
Éric Araujo authored
-
- 14 Jun, 2011 1 commit
-
-
Brian Curtin authored
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 Jun, 2011 2 commits
-
-
Brian Curtin authored
-
Brian Curtin authored
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 Jun, 2011 1 commit
-
-
Vinay Sajip authored
-
- 11 Jun, 2011 3 commits
-
-
Vinay Sajip authored
-
Benjamin Peterson authored
This allows findsource() to work in doctests. A patch from Dirkjan Ochtman.
-
Benjamin Peterson authored
-