Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge with 3.5 | Zachary Ware | 2016-08-17 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Use sys.version_info, not sys.version. | Zachary Ware | 2016-08-17 | 1 | -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 Stinner | 2016-08-17 | 2 | -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 interrupted | Victor Stinner | 2016-08-17 | 1 | -1/+2 | |
| | | ||||||
* | | regrtest: add newlines in output for readability | Victor Stinner | 2016-08-17 | 1 | -0/+3 | |
| | | ||||||
* | | Merge 3.5 (socket.__all__) | Victor Stinner | 2016-08-17 | 1 | -0/+1 | |
|\ \ | |/ | ||||||
| * | Issue #27698: Add socketpair to socket.__all__ on Windows | Victor Stinner | 2016-08-17 | 1 | -0/+1 | |
| | | ||||||
* | | Null merge | Victor Stinner | 2016-08-17 | 0 | -0/+0 | |
|\ \ | |/ | ||||||
| * | Issue #27726: Fix "make tags" | Victor Stinner | 2016-08-17 | 1 | -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 sort | Victor Stinner | 2016-08-17 | 1 | -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 ctags | Victor Stinner | 2016-08-17 | 1 | -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 Stinner | 2016-08-17 | 1 | -8/+8 | |
|\ \ | |/ | ||||||
| * | script_helper: kill the subprocess on error | Victor Stinner | 2016-08-17 | 1 | -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 durations | Victor Stinner | 2016-08-17 | 2 | -14/+21 | |
| | | | | | | | | Use milliseconds and minutes units, not only seconds. | |||||
* | | Tests: add --slowest option to buildbots | Victor Stinner | 2016-08-17 | 2 | -2/+2 | |
| | | | | | | | | Display the top 10 slowest tests. | |||||
* | | regrtest: rename --slow option to --slowest | Victor Stinner | 2016-08-17 | 2 | -7/+7 | |
| | | | | | | | | Thanks to optparse, --slow syntax still works ;-) | |||||
* | | Fix typo in test_time.py | Victor Stinner | 2016-08-17 | 1 | -1/+1 | |
| | | ||||||
* | | Minor readability tweak | Raymond Hettinger | 2016-08-17 | 1 | -1/+1 | |
| | | ||||||
* | | merge 3.5 (#27783) | Benjamin Peterson | 2016-08-17 | 2 | -8/+10 | |
|\ \ | |/ | ||||||
| * | merge 3.4 (#27783) | Benjamin Peterson | 2016-08-17 | 2 | -8/+10 | |
| |\ | ||||||
| | * | merge 3.3 (#27783) | Benjamin Peterson | 2016-08-17 | 2 | -8/+9 | |
| | |\ | ||||||
| | | * | rearrange methodcaller_new so that the main error case does not cause ↵ | Benjamin Peterson | 2016-08-17 | 2 | -8/+9 | |
| | | | | | | | | | | | | | | | | uninitialized memory usage (closes #27783) | |||||
* | | | | Use Py_ssize_t in _PyEval_EvalCodeWithName() | Victor Stinner | 2016-08-16 | 1 | -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 Stinner | 2016-08-16 | 1 | -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 found | Victor Stinner | 2016-08-16 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | Add cross-reference to typing.NamedTuple. Doctest two more examples. | Raymond Hettinger | 2016-08-16 | 1 | -4/+10 | |
| | | | | ||||||
* | | | | Add a missing # | Brett Cannon | 2016-08-16 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | fix hyperlink | Ethan Furman | 2016-08-16 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | merge | Raymond Hettinger | 2016-08-16 | 1 | -5/+0 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Remove duplicate of the entry in the seealso section | Raymond Hettinger | 2016-08-16 | 1 | -5/+0 | |
| | | | | ||||||
* | | | | Issue #25628: Make namedtuple "rename" and "verbose" parameters keyword-only. | Raymond Hettinger | 2016-08-16 | 4 | -3/+22 | |
| | | | | ||||||
* | | | | Issue #27776: dev_urandom(raise=0) now closes the file descriptor on error | Victor Stinner | 2016-08-16 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | Issue #27776: Cleanup random.c | Victor Stinner | 2016-08-16 | 1 | -121/+110 | |
| | | | | | | | | | | | | | | | | | | | | Merge dev_urandom_python() and dev_urandom_noraise() functions to reduce code duplication. | |||||
* | | | | Issue #27776: _PyRandom_Init() doesn't call PyErr_CheckSignals() anymore | Victor Stinner | 2016-08-16 | 1 | -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.c | Victor Stinner | 2016-08-16 | 1 | -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 own | Gregory P. Smith | 2016-08-16 | 1 | -7/+1 | |
|\ \ \ \ | |/ / / | | | | | | | | | _is_data_descriptor(). | |||||
| * | | | Issue #26750: use inspect.isdatadescriptor instead of our own | Gregory P. Smith | 2016-08-16 | 1 | -7/+1 | |
| | | | | | | | | | | | | | | | | _is_data_descriptor(). | |||||
* | | | | Merge with 3.5 | Terry Jan Reedy | 2016-08-16 | 1 | -3/+4 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #27611: Don't import volatile attribute. | Terry Jan Reedy | 2016-08-16 | 1 | -3/+4 | |
| | | | | ||||||
* | | | | Add versionadded tags for (c)math.tau. | Georg Brandl | 2016-08-16 | 2 | -0/+4 | |
| | | | | ||||||
* | | | | merge 3.5 (#27774) | Benjamin Peterson | 2016-08-16 | 2 | -3/+3 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | merge 3.4 (#27774) | Benjamin Peterson | 2016-08-16 | 2 | -3/+3 | |
| |\ \ \ | | |/ / | ||||||
| | * | | merge 3.3 (#27774) | Benjamin Peterson | 2016-08-16 | 2 | -3/+3 | |
| | |\ \ | | | |/ | ||||||
| | | * | do not decref value borrowed from list (closes #27774) | Benjamin Peterson | 2016-08-16 | 2 | -3/+3 | |
| | | | | ||||||
* | | | | merge 3.5 (#27773) | Benjamin Peterson | 2016-08-16 | 2 | -6/+6 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | fix corner cases in the management of server_hostname (closes #27773) | Benjamin Peterson | 2016-08-16 | 2 | -6/+6 | |
| | | | | ||||||
* | | | | merge 3.5 | Benjamin Peterson | 2016-08-16 | 3 | -2/+12 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | merge 3.4 | Benjamin Peterson | 2016-08-16 | 3 | -2/+12 | |
| |\ \ \ | | |/ / | ||||||
| | * | | fail when negative values are passed to instr() | Benjamin Peterson | 2016-08-16 | 3 | -2/+12 | |
| | | | | ||||||
* | | | | Issue #27736: Improve the existing embedded interpreter init/fini test | Ned Deily | 2016-08-16 | 1 | -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 |