Commit Graph

39565 Commits

Author SHA1 Message Date
Serhiy Storchaka 2e7cb1eda9 Merge heads 2016-06-03 10:48:13 +03:00
Serhiy Storchaka a9e6edaf41 Merge 3.5. 2016-06-03 10:45:56 +03:00
Serhiy Storchaka 10fd0aaf8b Issue #27185: Rename test_string_merged.py back to test_string.py. 2016-06-03 10:38:24 +03:00
Serhiy Storchaka 717ea08be3 Issue #27185: Merge test_pep292.py into test_string_merged.py. 2016-06-03 10:38:02 +03:00
Serhiy Storchaka 73e16135bf Issue #27185: Rename test_pep292.py to test_string_merged.py. 2016-06-03 10:32:36 +03:00
Serhiy Storchaka 9415bc41ab Issue #27185: Rename test_string.py to test_string_merged.py. 2016-06-03 10:30:25 +03:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) b414906f93 issue27167: make the test not care about the exact signal name in the
error message as some numbers map to multiple names.
2016-06-03 06:19:35 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) d6da7604d3 Issue #27167: Clarify the subprocess.CalledProcessError error message text
when the child process died due to a signal.
2016-06-03 06:14:06 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) a945969d71 Issue25931: fix tests broken by the conditional define of socketserver.Forking* 2016-06-03 05:26:14 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 1bb8109fe3 Reindent properly. 2016-06-03 00:16:02 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) cef1f83c71 Issue #25931: Don't defining socketserver.Forking* names on platforms such
as Windows that do not support os.fork().
2016-06-03 00:13:36 +00:00
R David Murray 1b50c4d697 Merge: #27185: move test_pep292 into test_string. 2016-06-02 19:38:20 -04:00
R David Murray a32c738ad7 #27185: move test_pep292 into test_string.
This makes the Template tests discoverable.  Patch by Erin Braswell.
2016-06-02 19:37:47 -04:00
Ethan Furman cdc0879d3a issue27186 -- initial docs, tests, and python version of os.fspath 2016-06-02 15:06:09 -07:00
Yury Selivanov 1f56e5f6af Merge 3.5 (asyncio) 2016-06-02 16:51:27 -04:00
Yury Selivanov a714616d36 asyncio: Fix getaddrinfo to accept service names (for port)
Patch by A. Jesse Jiryu Davis
2016-06-02 16:51:07 -04:00
Yury Selivanov 642afb3d3d Merge 3.5 (asyncio) 2016-06-02 16:44:10 -04:00
Berker Peksag fddf12198f Issue #21776: Merge from 3.5 2016-06-02 13:47:23 -07:00
Berker Peksag 6a8e626a60 Issue #21776: distutils.upload now correctly handles HTTPError
Initial patch by Claudiu Popa.
2016-06-02 13:45:53 -07:00
Yury Selivanov a8f895f051 asyncio: Support host=b'' for getaddrinfo 2016-06-02 16:43:52 -04:00
R David Murray 0d20189f63 Merge: #20973: add total ordering tests for ipaddress 2016-06-02 15:49:41 -04:00
R David Murray 947ff38725 #20973: add total ordering tests for ipaddress
Patch by Tommy Beadle.
2016-06-02 15:46:04 -04:00
Kushal Das 9cd39a170b Issue #21271: Adds new keyword only parameters in reset_mock call
We now have two keyword only parameters in the reset_mock function to
selectively reset the return_value or the side_effects, or both.
2016-06-02 10:20:16 -07:00
Martin Panter 0b7d84de6b Issue #27171: Merge typo fixes from 3.5 2016-06-02 10:11:18 +00:00
Martin Panter e26da7c03a Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
Terry Jan Reedy d80ab7d945 Issue # 24225: Update idlelib.README.txt with new file names and event handlers. 2016-05-31 20:17:58 -04:00
Terry Jan Reedy 5a0c278ad4 Issue #27156: Remove obsolete code not used by IDLE.
help.txt, replaced by help.html, is out-of-date and should not be used.
Its dedicated viewer has be replaced by the html viewer in help.py.
'import idlever; I = idlever.IDLE_VERSION' is the same as
'import sys; I = version[:version.index(' ')]'
2016-05-30 01:59:42 -04:00
Martin Panter dd780e4423 Issue #27125: Remove duplicated words in exception message 2016-05-30 04:08:23 +00:00
Martin Panter e514093a2f Issue #27125: Merge typo fixes from 3.5 2016-05-30 05:24:49 +00:00
Terry Jan Reedy 137bac265e Add items to MISC/NEWS and idlelib/NEWS.txt. 2016-05-30 01:04:08 -04:00
Terry Jan Reedy f45d27bcc3 Add items to MISC/NEWS and idlelib/NEWS.txt. 2016-05-30 01:02:34 -04:00
Martin Panter a90a4a9651 Issue #27125: Remove duplicated words from documentation and comments 2016-05-30 04:04:50 +00:00
Serhiy Storchaka eb6cd742e5 Issue #27033: Removed unnecessary the bool calls. 2016-05-29 23:50:56 +03:00
Martin Panter e501a93c18 Issue #27125: Merge typo fixes from 3.5
Also merge changes from Issue #27117; no actual code changes to 3.6.
2016-05-29 09:05:06 +00:00
Terry Jan Reedy 2bac3b778f Issue #27117: Make colorizer htest and turtledemo work with dark theme.
Factor out code for configuring text widget colors to a new function.
2016-05-29 01:40:22 -04:00
Martin Panter 8d56c026a5 Issue #27125: Fix various errors like “will [be] inherited” 2016-05-29 04:13:35 +00:00
Terry Jan Reedy e8a175eaa0 Issue #27117: Make ColorDelegator htest and turtledemo work with dark theme.
Factor out code for configuring text widget colors to a new function.
2016-05-29 01:40:30 -04:00
Benjamin Peterson f558d5f284 merge heads 2016-05-28 14:06:48 -07:00
Benjamin Peterson 6ca4260219 merge 3.5 2016-05-28 14:05:11 -07:00
Benjamin Peterson c352620c92 backout 3c9512d8ac0d 2016-05-28 14:04:40 -07:00
Terry Jan Reedy 6fa5bdc6e8 Issue #24225: Within idlelib files, update idlelib module names.
This follows the previous patch that changed idlelib file names.
Class names that matched old module names are not changed.
Change idlelib imports in turtledemo.__main__.

Exception: config-extensions.def.  Previously, extension section
names, file names, and class names had to match.  Changing section
names would create cross-version conflicts in config-extensions.cfg
(user customizations).  Instead map old names to new file names
at point of import in editor.EditorWindow.load_extension.

Patch extensively tested with test_idle, idle_test.htest.py, a custom
import-all test, running IDLE in a console to catch messages,
and testing each menu item.  Based on a patch by Al Sweigart.
2016-05-28 13:22:31 -04:00
Martin Panter c249221dfd Issue #20699: Merge io bytes-like fixes from 3.5 2016-05-28 01:07:08 +00:00
Martin Panter 6bb91f3b6e Issue #20699: Document that “io” methods accept bytes-like objects
This matches the usage of ZipFile and BufferedWriter. This still requires
return values to be bytes() objects.

Also document and test that the write() methods should only access their
argument before they return.
2016-05-28 00:41:57 +00:00
Eric Snow 0472217d43 Issue #27138: Fix the doc comment for FileFinder.find_spec(). 2016-05-27 12:56:41 -06:00
Eric Snow fc36e66af4 Issue #27138: Fix the doc comment for FileFinder.find_spec(). 2016-05-27 12:36:28 -06:00
Martin Panter 5677aa75f0 Issue #5784: Merge zlib from 3.5 2016-05-27 11:30:59 +00:00
Martin Panter c618ae8ed7 Issue #5784: wbits=0 apparently added in zlib v1.2.3.5 2016-05-27 11:20:21 +00:00
Martin Panter f4affb71bc Issue #5784: Merge zlib from 3.5 2016-05-27 08:00:24 +00:00
Martin Panter 0fdf41d847 Issue #5784: Expand documentation and tests for zlib wbits parameter
Based on documentation by AM Kuchling.
2016-05-27 07:32:11 +00:00
Steve Dower 48df37dbb8 Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError 2016-05-26 12:19:42 -07:00