- 22 Jun, 2011 3 commits
-
-
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 23 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
-
Senthil Kumaran authored
-
Benjamin Peterson authored
-
Senthil Kumaran authored
-
Benjamin Peterson authored
This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4)
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
- 19 Jun, 2011 3 commits
-
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-