summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge with 3.5Zachary Ware2016-08-171-2/+2
|\ \ | |/
| * Use sys.version_info, not sys.version.Zachary Ware2016-08-171-2/+2
| | | | | | | | | | sys.version[0] gives a string, which fails > comparison with 2. Reported by Arne Maximilian Richter on docs@
* | regrtest: add a summary of the summary, "Result: xxx"Victor Stinner2016-08-172-4/+25
| | | | | | | | | | | | | | It's sometimes hard to check quickly if tests succeeded, failed or something bad happened. I added a final "Result: xxx" line which summarizes all outputs into a single line, written at the end (it should always be the last line of the output).
* | regrtest: set interrupted to True if re-run is interruptedVictor Stinner2016-08-171-1/+2
| |
* | regrtest: add newlines in output for readabilityVictor Stinner2016-08-171-0/+3
| |
* | Merge 3.5 (socket.__all__)Victor Stinner2016-08-171-0/+1
|\ \ | |/
| * Issue #27698: Add socketpair to socket.__all__ on WindowsVictor Stinner2016-08-171-0/+1
| |
* | Null mergeVictor Stinner2016-08-170-0/+0
|\ \ | |/
| * Issue #27726: Fix "make tags"Victor Stinner2016-08-171-3/+3
| | | | | | | | | | | | | | | | * Memove -t option of ctags. The option was kept for backward compatibility, but it was completly removed recently. Patch written by Stéphane Wirtel. * Set locale to C to call sort. vim expects that the tags file is sorted using english collation, so it fails if the locale is french for example. Use LC_ALL=C to force english sorting order. .
* | Fix "make tags": set locale to C to call sortVictor Stinner2016-08-171-1/+1
| | | | | | | | | | | | vim expects that the tags file is sorted using english collation, so it fails if the locale is french for example. Use LC_ALL=C to force english sorting order. Issue #27726.
* | "make tags": remove -t option of ctagsVictor Stinner2016-08-171-2/+2
| | | | | | | | | | The option was kept for backward compatibility, but it was completly removed recently. Patch written by Stéphane Wirtel.
* | Merge 3.5 (script_helper)Victor Stinner2016-08-171-8/+8
|\ \ | |/
| * script_helper: kill the subprocess on errorVictor Stinner2016-08-171-8/+8
| | | | | | | | | | | | | | | | If Popen.communicate() raises an exception, kill the child process to not leave a running child process in background and maybe create a zombi process. This change fixes a ResourceWarning in Python 3.6 when unit tests are interrupted by CTRL+c.
* | regrtest: nicer output for durationsVictor Stinner2016-08-172-14/+21
| | | | | | | | Use milliseconds and minutes units, not only seconds.
* | Tests: add --slowest option to buildbotsVictor Stinner2016-08-172-2/+2
| | | | | | | | Display the top 10 slowest tests.
* | regrtest: rename --slow option to --slowestVictor Stinner2016-08-172-7/+7
| | | | | | | | Thanks to optparse, --slow syntax still works ;-)
* | Fix typo in test_time.pyVictor Stinner2016-08-171-1/+1
| |
* | Minor readability tweakRaymond Hettinger2016-08-171-1/+1
| |
* | merge 3.5 (#27783)Benjamin Peterson2016-08-172-8/+10
|\ \ | |/
| * merge 3.4 (#27783)Benjamin Peterson2016-08-172-8/+10
| |\
| | * merge 3.3 (#27783)Benjamin Peterson2016-08-172-8/+9
| | |\
| | | * rearrange methodcaller_new so that the main error case does not cause ↵Benjamin Peterson2016-08-172-8/+9
| | | | | | | | | | | | | | | | uninitialized memory usage (closes #27783)
* | | | Use Py_ssize_t in _PyEval_EvalCodeWithName()Victor Stinner2016-08-161-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27128, #18295: replace int type with Py_ssize_t for index variables used for positional arguments. It should help to avoid integer overflow and help to emit better machine code for "i++" (no trap needed for overflow). Make also the total_args variable constant.
* | | | Issue #27128: Cleanup _PyEval_EvalCodeWithName()Victor Stinner2016-08-161-11/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add comments * Add empty lines for readability * PEP 7 style for if block * Remove useless assert(globals != NULL); (globals is tested a few lines before)
* | | | Issue #27181: Skip tests known to fail until a fix is foundVictor Stinner2016-08-161-0/+1
| | | |
* | | | Add cross-reference to typing.NamedTuple. Doctest two more examples.Raymond Hettinger2016-08-161-4/+10
| | | |
* | | | Add a missing #Brett Cannon2016-08-161-1/+1
| | | |
* | | | fix hyperlinkEthan Furman2016-08-161-1/+1
| | | |
* | | | mergeRaymond Hettinger2016-08-161-5/+0
|\ \ \ \ | |/ / /
| * | | Remove duplicate of the entry in the seealso sectionRaymond Hettinger2016-08-161-5/+0
| | | |
* | | | Issue #25628: Make namedtuple "rename" and "verbose" parameters keyword-only.Raymond Hettinger2016-08-164-3/+22
| | | |
* | | | Issue #27776: dev_urandom(raise=0) now closes the file descriptor on errorVictor Stinner2016-08-161-0/+1
| | | |
* | | | Issue #27776: Cleanup random.cVictor Stinner2016-08-161-121/+110
| | | | | | | | | | | | | | | | | | | | Merge dev_urandom_python() and dev_urandom_noraise() functions to reduce code duplication.
* | | | Issue #27776: _PyRandom_Init() doesn't call PyErr_CheckSignals() anymoreVictor Stinner2016-08-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | Modify py_getrandom() to not call PyErr_CheckSignals() if raise is zero. _PyRandom_Init() is called very early in the Python initialization, so it's safer to not call PyErr_CheckSignals().
* | | | Issue #27776: Cleanup random.cVictor Stinner2016-08-161-55/+74
| | | | | | | | | | | | | | | | | | | | | | | | * Add pyurandom() helper function to factorize the code * don't call Py_FatalError() in helper functions, but only in _PyRandom_Init() if pyurandom() failed, to uniformize the code
* | | | Issue #26750: use inspect.isdatadescriptor instead of our ownGregory P. Smith2016-08-161-7/+1
|\ \ \ \ | |/ / / | | | | | | | | _is_data_descriptor().
| * | | Issue #26750: use inspect.isdatadescriptor instead of our ownGregory P. Smith2016-08-161-7/+1
| | | | | | | | | | | | | | | | _is_data_descriptor().
* | | | Merge with 3.5Terry Jan Reedy2016-08-161-3/+4
|\ \ \ \ | |/ / /
| * | | Issue #27611: Don't import volatile attribute.Terry Jan Reedy2016-08-161-3/+4
| | | |
* | | | Add versionadded tags for (c)math.tau.Georg Brandl2016-08-162-0/+4
| | | |
* | | | merge 3.5 (#27774)Benjamin Peterson2016-08-162-3/+3
|\ \ \ \ | |/ / /
| * | | merge 3.4 (#27774)Benjamin Peterson2016-08-162-3/+3
| |\ \ \ | | |/ /
| | * | merge 3.3 (#27774)Benjamin Peterson2016-08-162-3/+3
| | |\ \ | | | |/
| | | * do not decref value borrowed from list (closes #27774)Benjamin Peterson2016-08-162-3/+3
| | | |
* | | | merge 3.5 (#27773)Benjamin Peterson2016-08-162-6/+6
|\ \ \ \ | |/ / /
| * | | fix corner cases in the management of server_hostname (closes #27773)Benjamin Peterson2016-08-162-6/+6
| | | |
* | | | merge 3.5Benjamin Peterson2016-08-163-2/+12
|\ \ \ \ | |/ / /
| * | | merge 3.4Benjamin Peterson2016-08-163-2/+12
| |\ \ \ | | |/ /
| | * | fail when negative values are passed to instr()Benjamin Peterson2016-08-163-2/+12
| | | |
* | | | Issue #27736: Improve the existing embedded interpreter init/fini testNed Deily2016-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | by increasing the number of iterations. That appears sufficient to expose the ref count problem fixed in this issue. Patch suggested by Xiang Zhang