- 24 Jun, 2011 3 commits
-
-
Benjamin Peterson authored
-
R David Murray authored
-
R David Murray authored
The new wording is based on the comments in the code, which match the actual behavior.
-
- 23 Jun, 2011 5 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
-
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).
-
R David Murray authored
I didn't rename the variable because I can see no good reason to break backward compatibility just to put an underscore in the name.
-
- 22 Jun, 2011 6 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
Cannot test an empty environment on Windows: Windows requires at least the SYSTEMROOT environment variable to start Python.
-
Victor Stinner authored
Add a basic synchronization code between the child and the parent processes: the child writes "ready" to stdout.
-
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.
-
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.
-
R David Murray authored
-
- 21 Jun, 2011 11 commits
-
-
Victor Stinner authored
shared mode 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
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
environment variables, start with an empty environment.
-
Victor Stinner authored
variables, start with an empty environment.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 20 Jun, 2011 15 commits
-
-
Victor Stinner authored
The previous tests used time.sleep() to synchronize two processes. If the host was too slow, the test could fail. The new tests only use one process, but they use a subprocess to: - have only one thread - have a timeout on the blocking read (select cannot be used in the test, select always fail with EINTR, the kernel doesn't restart it) - not touch signal handling of the parent process
-
Victor Stinner authored
number of processes if negative or null.
-
Victor Stinner authored
processes if negative or null.
-
Victor Stinner authored
Use os.access(path, os.X_OK) instead of (os.stat(path).st_mode & 0o111 != 0), and ignore the test on Windows.
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Victor Stinner authored
-
Victor Stinner authored
(UnicodeEncodeError).
-
Victor Stinner authored
module name anymore, only work on unicode strings. Therefore it doesn't truncate module names with embedded NUL characters, or fail if the module name contains surrogate characters (UTF-8 encoder fails on a surrogate character). Patch written by Alexander Belopolsky.
-
Victor Stinner authored
encoding using _Py_char2wchar() instead of mbstowcs() to store undecodable bytes as surrogates characters (PEP 383) instead of ignoring silently the PYTHONPATH variable.
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-