summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12363: improve siginterrupt() testsVictor Stinner2011-06-221-0/+7
| | | | | Add a basic synchronization code between the child and the parent processes: the child writes "ready" to stdout.
* (merge 3.2) Issue #12383: fix test_empty_env() of subprocess on Mac OS XVictor Stinner2011-06-221-2/+6
|\ | | | | | | | | | | 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.
| * Issue #12383: fix test_empty_env() of subprocess on Mac OS XVictor Stinner2011-06-221-2/+6
| | | | | | | | | | | | 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.
* | #1874: detect invalid multipart CTE and report it as a defect.R David Murray2011-06-224-0/+56
| |
* | (merge 3.2) Issue #12383: skip test_empty_env() if compiled is compiled inVictor Stinner2011-06-211-2/+5
|\ \ | |/ | | | | | | | | | | 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.
| * Issue #12383: skip test_empty_env() if compiled is compiled in shared modeVictor Stinner2011-06-211-2/+5
| | | | | | | | | | 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.
* | (merge 3.2) Close #12383: Fix subprocess module with env={}: don't copy theVictor Stinner2011-06-213-8/+20
|\ \ | |/ | | | | environment variables, start with an empty environment.
| * Close #12383: Fix subprocess module with env={}: don't copy the environmentVictor Stinner2011-06-213-8/+20
| | | | | | | | variables, start with an empty environment.
* | merge 3.2Benjamin Peterson2011-06-211-6/+6
|\ \ | |/
| * fix indentationBenjamin Peterson2011-06-211-6/+6
| |
* | merge 3.2Benjamin Peterson2011-06-211-1/+1
|\ \ | |/
| * merge headsBenjamin Peterson2011-06-215-10/+27
| |\
| * | fix indentationBenjamin Peterson2011-06-211-1/+1
| | |
* | | merge headsBenjamin Peterson2011-06-211-74/+50
|\ \ \
| * | | Close #12363: fix a race condition in siginterrupt() testsVictor Stinner2011-06-201-74/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | remove intrcheck.c, which hasn't been used for yearsBenjamin Peterson2011-06-211-174/+0
|/ / /
* | | (merge 3.2) Issue #12285: multiprocessing.Pool() raises a ValueError if theVictor Stinner2011-06-202-0/+5
|\ \ \ | | |/ | |/| | | | number of processes if negative or null.
| * | Issue #12285: multiprocessing.Pool() raises a ValueError if the number ofVictor Stinner2011-06-202-0/+5
| | | | | | | | | | | | processes if negative or null.
* | | Close #12289: Fix "is executable?" test in the CGI serverVictor Stinner2011-06-201-6/+2
| | | | | | | | | | | | | | | Use os.access(path, os.X_OK) instead of (os.stat(path).st_mode & 0o111 != 0), and ignore the test on Windows.
* | | merge headsSenthil Kumaran2011-06-201-0/+4
|\ \ \
| * | | call_find_module() handles dup() failure: raise an OSError exceptionVictor Stinner2011-06-201-0/+4
| | | |
* | | | merge from 3.2 - Fix closes Issue12359 - Removing a confusing sentence from ↵Senthil Kumaran2011-06-201-7/+7
|\ \ \ \ | |/ / / |/| / / | |/ / the previous change.
| * | Fix closes Issue12359 - Removing a confusing sentence from the previous change.Senthil Kumaran2011-06-201-7/+7
| | |
* | | find_module_path_list() fails if _Py_fopen() failed and raised an exceptionVictor Stinner2011-06-201-0/+4
| | | | | | | | | | | | (UnicodeEncodeError).
* | | Issue #6697: _lsprof: normalizeUserObj() doesn't encode/decode (UTF-8) theVictor Stinner2011-06-201-26/+19
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | calculate_path() decodes the PYTHONPATH environment variable from the localeVictor Stinner2011-06-201-7/+9
| | | | | | | | | | | | | | | | | | encoding using _Py_char2wchar() instead of mbstowcs() to store undecodable bytes as surrogates characters (PEP 383) instead of ignoring silently the PYTHONPATH variable.
* | | merge from 3.2Senthil Kumaran2011-06-201-2/+2
|\ \ \ | |/ /
| * | Fix closes issue 12360 - correcting parameter names in asyncore documentation.Senthil Kumaran2011-06-201-2/+2
| | |
* | | merge headsBenjamin Peterson2011-06-200-0/+0
|\ \ \
| * \ \ merge headsSenthil Kumaran2011-06-205-10/+26
| |\ \ \
| * \ \ \ outstanding merge with 3.2Senthil Kumaran2011-06-200-0/+0
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | minor space nit.Senthil Kumaran2011-06-201-1/+1
| | | | |
* | | | | bump magic for super closure changeBenjamin Peterson2011-06-201-1/+2
| |_|/ / |/| | |
* | | | merge headsBenjamin Peterson2011-06-202-8/+20
|\ \ \ \ | |/ / /
| * | | merge from 3.2. Issue 12359Senthil Kumaran2011-06-201-7/+8
| |\ \ \ | | |/ /
| | * | Fix closes Issue12359 - Minor update to module import description.Senthil Kumaran2011-06-201-7/+8
| | | |
| * | | merge from 3.2Senthil Kumaran2011-06-201-1/+1
| |\ \ \ | | |/ /
| | * | Whitespace nit fixed using reident.Senthil Kumaran2011-06-191-1/+1
| | | |
| * | | merge from 3.2. Updates to http.client documentation.Senthil Kumaran2011-06-191-1/+12
| |\ \ \ | | |/ /
| | * | Fix closes Issue12315 - Updates to http.client documentation.Senthil Kumaran2011-06-191-1/+12
| | |/
* | | use a invalid name for the __class__ closure for super() (closes #12370)Benjamin Peterson2011-06-205-10/+26
|/ / | | | | | | | | This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4)
* | merge 3.2Benjamin Peterson2011-06-191-7/+7
|\ \ | |/
| * fix uglyNamingConventionBenjamin Peterson2011-06-191-7/+7
| |
* | remove duplicate -IBenjamin Peterson2011-06-191-1/+1
| |
* | merge from 3.2Senthil Kumaran2011-06-191-2/+2
|\ \ | |/
| * merge from 3.1 for issue issue12261.Senthil Kumaran2011-06-191-2/+2
| |\
| | * Fix closes issue12261 - Minor documention changes in the urllib.parse.rstSenthil Kumaran2011-06-191-2/+2
| | |
* | | Improve documentation of packaging hooksÉric Araujo2011-06-192-22/+36
| | |
* | | packaging: Add the project directory to sys.path to support local setup hooks.Éric Araujo2011-06-193-11/+39
| | | | | | | | | | | | Original patch by Vinay Sajip on #11637.
* | | Add missing documentation for packaging.pypi.base and .simpleÉric Araujo2011-06-192-13/+95
| | |