Commit graph

94533 commits

Author SHA1 Message Date
Berker Peksag
8e937f80c9 Fix typo in Python tutorial 2016-06-01 09:36:14 -07:00
Martin Panter
f9de40666c Issue #25570: Merge add_header() example from 3.5 2016-06-01 08:17:27 +00:00
Martin Panter
7aaaded8f4 Issue #25570: Add example of customizing User-Agent via add_header() 2016-06-01 08:10:50 +00:00
Zachary Ware
d6ce44c412 Merge with 3.5 2016-06-01 00:01:21 -05:00
Zachary Ware
f9aff925e0 Fix typo 2016-06-01 00:01:10 -05: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
Senthil Kumaran
96ebb8431a [merge from 3.5] issue27043 - Explain the inspect.cleandoc behavior on synopsis line and other lines.
Patch contributed by Nathan Harold.
2016-05-29 20:37:54 -07:00
Senthil Kumaran
ebd84e342c issue27043 - Explain the inspect.cleandoc behavior on synopsis line and other lines.
Patch contributed by Nathan Harold.
2016-05-29 20:36:58 -07:00
Serhiy Storchaka
eb6cd742e5 Issue #27033: Removed unnecessary the bool calls. 2016-05-29 23:50:56 +03:00
Serhiy Storchaka
8c740c4d19 Improved docs for issue27033. Based on comments by R. David Murray. 2016-05-29 23:43:24 +03:00
Terry Jan Reedy
ea083fafd5 Merge heads 2016-05-29 12:47:38 -04:00
Terry Jan Reedy
b286620949 Null merge 2016-05-29 12:42:46 -04: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
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
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
Martin Panter
82069612ec Issue #27124: Merge binascii doc from 3.5 2016-05-29 00:56:02 +00:00
Martin Panter
58dd7648de Issue #27124: Fix documentation of exception raised by a2b_hex() 2016-05-29 00:48:54 +00:00
Benjamin Peterson
cb433a0a78 merge 3.5 2016-05-28 14:07:49 -07:00
Benjamin Peterson
dee9f75504 merge heads 2016-05-28 14:07:45 -07:00
Benjamin Peterson
2c71e0bdcc merge heads 2016-05-28 14:07:30 -07:00
Benjamin Peterson
f558d5f284 merge heads 2016-05-28 14:06:48 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
46833e73af Fix issue27146 - add stdio.h include to posixmodule.c for ctermid(). 2016-05-28 21:06:41 +00: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
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
fa76eeec70 Fix issue27146 - add stdio.h include to posixmodule.c for ctermid(). 2016-05-28 21:03:48 +00:00
Eric Snow
dc4f7c09cc Issue #27147: Mention PEP 420 in the importlib docs. 2016-05-28 11:08:20 -07:00
Eric Snow
338502b307 Issue #27147: Mention PEP 420 in the importlib docs. 2016-05-28 11:56:53 -06: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
Serhiy Storchaka
76c4161b92 Issue #27138: Regenerate Python/importlib_external.h. 2016-05-28 14:48:19 +03:00
Serhiy Storchaka
c7385f31d3 Issue #27138: Regenerate Python/importlib_external.h. 2016-05-28 14:46:13 +03:00
Serhiy Storchaka
a4a7fc9638 Merge heads (issue #25926). 2016-05-28 14:25:46 +03:00
Raymond Hettinger
672866d009 Issue 25926: Clarify that the pure python equivalents are only approximate. 2016-05-28 00:17:54 -07:00
Raymond Hettinger
819581b843 Issue 25926: Clarify that the pure python equivalents are only approximate. 2016-05-28 00:10:56 -07:00
Martin Panter
5f7110304c Issue #26553: Merge capitalization from 3.5 2016-05-28 02:25:07 +00:00
Martin Panter
fe289c0f6f Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URL
Patch by Anish Shah and Aatish Neupane.
2016-05-28 02:20:39 +00: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