Commit Graph

91358 Commits

Author SHA1 Message Date
Raymond Hettinger c22eee6b59 Precomputing the number iterations allows the inner-loop to be vectorizable. 2015-09-26 02:14:50 -07:00
Raymond Hettinger 7a84552c84 Hoist constant expression out of an inner loop. 2015-09-26 01:30:51 -07:00
Victor Stinner 98de5340d4 Issue #25220: Create Lib/test/libregrtest/
Start to split regrtest.py into smaller parts with the creation of
Lib/test/libregrtest/cmdline.py: code to handle the command line, especially
parsing command line arguments. This part of the code is tested by
test_regrtest.
2015-09-26 09:43:45 +02:00
Raymond Hettinger e055b88937 merge 2015-09-26 00:15:46 -07:00
Raymond Hettinger bf49fee125 Issue #25135: Avoid possible reentrancy issues in deque_clear. 2015-09-26 00:14:59 -07:00
Benjamin Peterson 5b8854eee0 merge 3.5 2015-09-26 00:09:39 -07:00
Benjamin Peterson 03c59b9bef merge 3.4 2015-09-26 00:09:32 -07:00
Benjamin Peterson e48cf7e729 prevent overflow in _Unpickler_Read 2015-09-26 00:08:34 -07:00
Benjamin Peterson 00d4442979 merge 3.5 (#25131) 2015-09-25 22:44:55 -07:00
Benjamin Peterson 58b53953f8 make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node (closes #25131) 2015-09-25 22:44:43 -07:00
Terry Jan Reedy 9cd90ccaae Merge with 3.5 2015-09-25 22:23:33 -04:00
Terry Jan Reedy 58b07a605d Merge with 3.4 2015-09-25 22:23:19 -04:00
Terry Jan Reedy 3be2e54adc Issue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.
2015-09-25 22:22:55 -04:00
Martin Panter 0931ba2259 Issue #25211: Merge test_long from 3.5 2015-09-26 00:07:54 +00:00
Martin Panter 429f28d1ae Issue #25211: Merge test_long from 3.4 into 3.5 2015-09-26 00:07:29 +00:00
Martin Panter cbe16aefb8 Issue #25211: Eliminate lazy error message class by using subTest
Some of the calls to the Frm class were buggy anyway.
2015-09-25 23:50:47 +00:00
Brett Cannon 1dae0c68dd Issue #25186: Remove duplicated function from importlib._bootstrap_external 2015-09-25 13:05:13 -07:00
Terry Jan Reedy b5bb6f3a59 Merge with 3.5 2015-09-25 00:49:44 -04:00
Terry Jan Reedy 3acda6e854 Merge with 3.4 2015-09-25 00:49:31 -04:00
Terry Jan Reedy 52736ddc9c Issue #25198: Idle doc viewer now uses user width and height setting.
The height is reduced by 3/4 to account for extra spacing between lines,
relative to an Idle editor, and extra tall header lines.
2015-09-25 00:49:18 -04:00
Terry Jan Reedy 6e5bf064a1 Merge with 3.5 2015-09-24 23:19:20 -04:00
Terry Jan Reedy 65b29696f4 Merge with 3.4 2015-09-24 23:19:09 -04:00
Terry Jan Reedy ce021dbb25 Issue #25225: add revised .html. 2015-09-24 23:18:57 -04:00
Terry Jan Reedy b8aca4e491 Merge with 3.5 2015-09-24 23:14:15 -04:00
Terry Jan Reedy 0588e1ab39 Merge with 3.4 2015-09-24 23:14:02 -04:00
Terry Jan Reedy f660ce2363 Issue #25225: Condense and rewrite Idle doc section on text colors. 2015-09-24 23:13:49 -04:00
Terry Jan Reedy c62656d37a Merge with 3.5 2015-09-24 17:32:50 -04:00
Terry Jan Reedy 986f53181a Merge with 3.4 2015-09-24 17:32:38 -04:00
Terry Jan Reedy 974a271105 Issue #25198: In Idle doc viewer, fix indent of fixed-pitch <pre> text
by adding a new tag.  Patch by Mark Roseman. Also give <pre> text a very
light blueish-gray background similar to that used by Sphinx html.
2015-09-24 17:32:01 -04:00
Victor Stinner 0030cd52da Issue #25227: Cleanup unicode_encode_ucs1() error handler
* Change limit type from unsigned int to Py_UCS4, to use the same type than the
  "ch" variable (an Unicode character).
* Reuse ch variable for _Py_ERROR_XMLCHARREFREPLACE
* Add some newlines for readability
2015-09-24 14:45:00 +02:00
Eric V. Smith 1e5fcc3dea Fixed error creation if the problem is an empty expression in an f-string: use ast_error instead of PyErr_SetString. 2015-09-24 08:52:04 -04:00
Andrew Svetlov 038b61fbb5 Merge 3.5 -> default 2015-09-24 14:36:00 +03:00
Andrew Svetlov 1c99e529dd Merge 3.4 -> 3.5 2015-09-24 14:35:16 +03:00
Andrew Svetlov 74edd3580e Add Benjamin Hodgson to Misc/ACK 2015-09-24 14:34:07 +03:00
Andrew Svetlov 4919907774 Fix #25208: Improve "Develop with asyncio" doc page.
Patch by Benjamin Hodgson.
2015-09-24 14:32:39 +03:00
Terry Jan Reedy ac2d87a157 Merge with 3.5 2015-09-24 03:10:07 -04:00
Terry Jan Reedy 5901b00124 Merge with 3.4 2015-09-24 03:09:56 -04:00
Terry Jan Reedy 0053c47785 Issue 21995: Explain some differences between IDLE and console Python. 2015-09-24 03:09:43 -04:00
Victor Stinner 63c8907498 Merge 3.5 (codecs, issue #24894) 2015-09-24 09:04:44 +02:00
Victor Stinner 0ec69a6a41 Merge 3.4 (codecs, issue #24894) 2015-09-24 09:04:26 +02:00
Victor Stinner bfd9767e0f Issue #24894: Document the codec iso8859_11
Patch written by Prashant Tyagi.
2015-09-24 09:04:05 +02:00
Terry Jan Reedy 51c0f3e451 Merge with 3.5 2015-09-24 01:40:07 -04:00
Terry Jan Reedy 1749ce7542 Merge with 3.4 2015-09-24 01:39:48 -04:00
Terry Jan Reedy 8b5a981e02 Issue #22820: Explain need for *print* when running file from Idle editor. 2015-09-24 01:39:30 -04:00
Raymond Hettinger 2b0d646b75 Replace an unpredictable branch with a simple addition. 2015-09-23 19:15:44 -07:00
Terry Jan Reedy e39b57b41a Merge with 3.5 2015-09-23 20:01:09 -04:00
Terry Jan Reedy 0389fccbd0 Merge with 3.4 2015-09-23 20:00:55 -04:00
Terry Jan Reedy 6e10ec5367 Issue 25224: Augment Idle doc feature list and no-subprocess section
to finish making current README.txt obsolete.
2015-09-23 20:00:33 -04:00
Victor Stinner 0cca00b67e Issue #25220: Backed out changeset eaf9a99b6bb8 2015-09-23 23:16:47 +02:00
Victor Stinner 7b92abf0e9 Issue #25220: Create Lib/test/libregrtest/
Start to split regrtest.py into smaller parts with the creation of
Lib/test/libregrtest/cmdline.py.
2015-09-23 23:04:18 +02:00