Łukasz Langa
5135e9ed51
Merge 3.5, issue #27194
2016-06-11 16:56:18 -07:00
Łukasz Langa
e7f27481a8
Issue #27194 : superfluous truncate calls in tarfile.py slow down extraction
...
Patch by Jason Fried.
2016-06-11 16:42:36 -07:00
Serhiy Storchaka
6a7506a77f
Issue #27140 : Added BUILD_CONST_KEY_MAP opcode.
2016-06-12 00:39:41 +03:00
Serhiy Storchaka
d611f4cf10
Issue #27294 : Improved repr for Tkinter event objects.
2016-06-12 00:19:44 +03:00
Benjamin Peterson
ab6e156ed3
merge 3.5
2016-06-11 13:19:34 -07:00
Benjamin Peterson
b0557e729e
merge 3.4
2016-06-11 13:18:56 -07:00
Benjamin Peterson
46b32f307c
raise an error when STARTTLS fails
2016-06-11 13:16:42 -07:00
Berker Peksag
28dc1186a8
Issue #20508 : Improve exception message of IPv{4,6}Network.__getitem__
...
Patch by Gareth Rees.
2016-06-11 22:30:05 +03:00
Berker Peksag
24b102e6e8
Issue #21386 : Merge from 3.5
2016-06-11 22:12:36 +03:00
Berker Peksag
742192a4fe
Issue #21386 : Implement missing IPv4Address.is_global property
...
It was documented since 07a5610bae9d.
Initial patch by Roger Luethi.
2016-06-11 22:11:47 +03:00
Terry Jan Reedy
4da945f361
Merge Issue #22558 .
2016-06-11 15:06:08 -04:00
Terry Jan Reedy
fa089b9b0b
Issue #22558 : Add remaining doc links to source code for Python-coded modules.
...
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
2016-06-11 15:02:54 -04:00
Serhiy Storchaka
e670be2273
Issue #27029 : Removed deprecated support of universal newlines mode from ZipFile.open().
2016-06-11 19:32:44 +03:00
Serhiy Storchaka
9bd85b83f6
Issue #27030 : Unknown escapes consisting of ``'\'`` and ASCII letter in
...
regular expressions now are errors.
2016-06-11 19:15:00 +03:00
Yury Selivanov
d35bf03284
Merge 3.5 (issue #22970 )
2016-06-11 12:01:19 -04:00
Yury Selivanov
c92bf83a82
Issue #22970 : asyncio: Fix inconsistency cancelling Condition.wait.
...
Patch by David Coles.
2016-06-11 12:00:07 -04:00
Yury Selivanov
6588712bf0
Merge 3.5 (issue #27223 )
2016-06-11 11:20:50 -04:00
Yury Selivanov
ca2e0a48cf
Issue #27223 : aio: Fix _read_ready and _write_ready to respect _conn_lost.
...
Patch by Łukasz Langa.
2016-06-11 11:19:47 -04:00
Terry Jan Reedy
b1c9b64850
IDLE NEWS entries
2016-06-11 04:36:34 -04:00
Terry Jan Reedy
661c0329d3
Merge Issue #5124 : NEWS entries.
2016-06-11 04:32:30 -04:00
Terry Jan Reedy
8ace13be39
Issue #5124 : NEWS entries.
2016-06-11 04:31:22 -04:00
Ned Deily
139fb7c71c
Issue #27262 : fix missing parameter typo
2016-06-11 02:57:56 -04:00
Terry Jan Reedy
50288f964a
Issue #5124 : rename PyShell back to pyshell and patch test for 3.6
2016-06-11 02:10:59 -04:00
Terry Jan Reedy
b5c43f4c01
Merge with 3.5
2016-06-11 02:06:40 -04:00
Terry Jan Reedy
5ad8599caa
Issue #5124 : Paste with selection should always replace.
...
This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets.
The exception was X11 tk widgets. Original patch by Serhiy Storchake.
2016-06-11 02:06:26 -04:00
Terry Jan Reedy
c39e330993
Issue #5124 : Temporary pyshell rename to avoid case-folding collision in merge.
2016-06-11 02:05:52 -04:00
Terry Jan Reedy
01e35754fb
Issue *24750: Switch all scrollbars in IDLE to ttk versions.
...
Where needed, add minimal tests to cover changes.
2016-06-10 18:19:21 -04:00
Brett Cannon
96881cd621
Issue #27186 : Add os.PathLike support to DirEntry
...
Initial patch thanks to Jelle Zijlstra.
2016-06-10 14:37:21 -07:00
Berker Peksag
419e8ede19
Issue #20900 : Merge from 3.5
2016-06-10 23:02:04 +03:00
Berker Peksag
904a2ef2e2
Issue #20900 : distutils register command now decodes HTTP responses correctly
...
Initial patch by ingrid.
2016-06-10 23:00:52 +03:00
Brett Cannon
568be63248
Issue #27186 : Add os.PathLike support to pathlib.
...
This adds support both to pathlib.PurePath's constructor as well as
implementing __fspath__(). This removes the provisional status for
pathlib.
Initial patch by Dusty Phillips.
2016-06-10 12:20:49 -07:00
Serhiy Storchaka
f41b82fb19
Issue #26282 : PyArg_ParseTupleAndKeywords() and Argument Clinic now support
...
positional-only and keyword parameters in the same function.
2016-06-09 16:30:29 +03:00
Terry Jan Reedy
1080d13a7d
Issue #24759 : IDLE requires tk 8.5 and availability ttk widgets.
...
Delete now unneeded tk version tests and code for older versions.
2016-06-09 21:09:15 -04:00
Terry Jan Reedy
82ae15597f
Issue #24759 : Add test for IDLE syntax colorizoer.
2016-06-09 21:04:09 -04:00
Brett Cannon
5f74ebc2e4
Fix some PEP 8 violations.
2016-06-09 14:29:25 -07:00
Yury Selivanov
711d25db48
Merge 3.5 (issue #27243 )
2016-06-09 15:13:16 -04:00
Yury Selivanov
a6f6edbda8
Issue #27243 : Fix __aiter__ protocol
2016-06-09 15:08:31 -04:00
Terry Jan Reedy
fb51e65289
Issue #27239 : idlelib.macosx.isXyzTk functions initialize as needed.
2016-06-08 18:09:22 -04:00
Barry Warsaw
118598a072
Issue #27066 : Fixed SystemError if a custom opener (for open()) returns a
...
negative number without setting an exception.
2016-06-08 17:54:43 -04:00
Barry Warsaw
480e28538d
Issue #27066 : Fixed SystemError if a custom opener (for open()) returns
...
a negative number without setting an exception.
2016-06-08 17:47:26 -04:00
Terry Jan Reedy
24f3a1829f
Issue #27262 : move Aqua unbinding code, which enable context menus, to maxosx.
2016-06-08 14:37:05 -04:00
Guido van Rossum
8c0e046023
Sync typing.py with upstream (merge 3.5->3.6).
2016-06-08 11:20:02 -07:00
Guido van Rossum
91185fe028
Sync typing.py with upstream.
...
(Upstream is https://github.com/python/typing )
- Add TYPE_CHECKING (false at runtime, true in type checkers) (upstream #230 ).
- Avoid error on Union[xml.etree.cElementTree.Element, str] (upstream #229 ).
- Repr of Tuple[()] should be 'Tuple[()]' (upstream #231 ).
- Add NewType() (upstream #189 ).
2016-06-08 11:19:11 -07:00
Yury Selivanov
7a713386d8
Merge 3.5 (asyncio)
2016-06-08 13:57:23 -04:00
Yury Selivanov
c1cf296de6
asyncio: Remove asyncio.timeout() context manager.
...
It will probably be added back in Python 3.6, once its compatibility
issues are resolved; see [1] for more details.
[1] https://mail.python.org/pipermail/async-sig/2016-June/000045.html
2016-06-08 13:57:03 -04:00
Yury Selivanov
552bf94648
Merge 3.5 (issue #27136 , asyncio)
2016-06-08 12:33:59 -04:00
Yury Selivanov
f1c6fa9866
Issue #27136 : Fix DNS static resolution; don't use it in getaddrinfo
...
Patch by A. Jesse Jiryu Davis
2016-06-08 12:33:31 -04:00
Martin Panter
40de69ac58
Issue #25738 : Merge HTTP server from 3.5
2016-06-08 09:45:58 +00:00
Martin Panter
58f016909e
Issue #21313 : Merge version parsing from 3.5
2016-06-08 09:44:21 +00:00
Martin Panter
e42e129ebe
Issue #25738 : Don’t send message body for 205 Reset Content
...
Patch by Susumu Koshiba.
2016-06-08 08:29:13 +00:00
Martin Panter
4e50553823
Issue #21313 : Tolerate truncated buildinfo in sys.version
2016-06-08 06:12:22 +00:00
Vinay Sajip
24a72ca239
Fixed #27251 : merged fix from 3.5.
2016-06-07 21:20:39 +01:00
Vinay Sajip
1bf197eb14
Fixed #27251 : corrected string/bytes handling in credentials.
2016-06-07 21:19:55 +01:00
Terry Jan Reedy
ea938baf5e
Items for NEWS and idlelib/NEWS.txt.
2016-06-07 15:35:37 -04:00
Terry Jan Reedy
8bff8f6953
Items for NEWS and idlelib/NEWS.txt.
2016-06-07 15:33:53 -04:00
Serhiy Storchaka
6db1f6f7ae
Issue #26983 : Fixed test_format failure.
...
Patch by SilentGhost.
2016-06-06 13:00:03 +03:00
Martin Panter
83815aeee8
Issue #27107 : mailbox.fcntl = None on Windows
2016-06-06 02:49:54 +00:00
Martin Panter
380ef01299
Issue #27110 : Add smtpd.SMTPChannel to __all__, by Jacek Kołodziej
2016-06-06 02:03:11 +00:00
Martin Panter
d04d21373f
Issue #27109 : Add InvalidFileException to __all__, by Jacek Kołodziej
2016-06-06 02:00:50 +00:00
Martin Panter
f8f3121775
Issue #27108 : Add missing names to mimetypes.__all__, by Jacek Kołodziej
2016-06-06 01:59:19 +00:00
Martin Panter
ed84ab3335
Issue #27107 : Add exception classes to mailbox.__all__, by Jacek Kołodziej
2016-06-06 01:56:09 +00:00
Martin Panter
1cd2772246
Issue #27105 : Add cgi.test() to __all__, based on Jacek Kołodziej’s patch
2016-06-06 01:53:28 +00:00
Terry Jan Reedy
2e747c4b8f
Issue #27156 : Remove more unused idlelib code.
2016-06-05 21:32:45 -04:00
Martin Panter
1ab2f14281
Issue #27164 : Merge raw Deflate zdict support from 3.5
2016-06-05 12:07:48 +00:00
Martin Panter
3f0ee83f14
Issue #27164 : Allow decompressing raw Deflate streams with predefined zdict
...
Based on patch by Xiang Zhang.
2016-06-05 10:48:34 +00:00
Serhiy Storchaka
b07b57c522
Issue #21916 : Added more tests for the turtle module.
...
Original patch by Jelle Zijlstra.
2016-06-05 10:37:19 +03:00
Serhiy Storchaka
3c5fa560ed
Issue #21916 : Added more tests for the turtle module.
...
Original patch by Jelle Zijlstra.
2016-06-05 10:32:57 +03:00
Martin Panter
ff5cd4576f
Issue #24291 : Merge wsgi partial write fix from 3.5
2016-06-05 06:56:51 +00:00
Martin Panter
ed0425c60a
Issue #24291 : Avoid WSGIRequestHandler doing partial writes
...
If the underlying send() method indicates a partial write, such as when the
call is interrupted to handle a signal, the server would silently drop the
remaining data.
Also add deprecated support for SimpleHandler.stdout.write() doing partial
writes.
2016-06-05 06:28:55 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
7a9ddd1d85
merge from 3.5. (moves the issue26372 tests to the proper class)
2016-06-05 02:58:38 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
2daf8e7f76
Move the BrokenPipeError tests to the POSIXProcessTestCase class
...
instead of the generic ProcessTestCase class as they are posix
specific.
2016-06-05 02:57:47 +00:00
Kushal Das
5f2702b7bf
Fixes whitespace issue
2016-06-04 16:24:05 -07:00
Kushal Das
5801ecb440
Issue #25548 : Showing memory address of class objects in repl
2016-06-04 16:21:13 -07:00
doko@ubuntu.com
409482251b
- Issue #21272 : Use _sysconfigdata.py to initialize distutils.sysconfig.
2016-06-05 01:17:57 +02:00
doko@ubuntu.com
36987d7c8d
- merge 3.5
2016-06-05 00:44:01 +02:00
doko@ubuntu.com
6ada01234d
- Issue #26884 : Fix linking extension modules for cross builds.
...
Patch by Xavier de Gaye.
2016-06-05 00:41:58 +02:00
Nick Coghlan
b4b966ece2
Issue #19611 : handle implicit parameters in inspect.signature
...
inspect.signature now reports the implicit ``.0`` parameters generated by
the compiler for comprehension and generator expression scopes as if they
were positional-only parameters called ``implicit0``.
Patch by Jelle Zijlstra.
2016-06-04 14:40:03 -07:00
Ethan Furman
d62548afed
issue27186: add open/io.open; patch by Jelle Zijlstra
2016-06-04 14:38:43 -07:00
Ethan Furman
228c636908
issue27186: fix fsencode/fsdecode and update tests; patch by Jelle Zijlstra
2016-06-04 13:47:39 -07:00
Serhiy Storchaka
30eba6663f
Merge heads
2016-06-04 23:30:53 +03:00
Serhiy Storchaka
a23234b10d
Merge heads
2016-06-04 23:30:45 +03:00
Serhiy Storchaka
6e8e10e30d
Issue #21916 : Added tests for the turtle module.
...
Patch by ingrid, Gregory Loyse and Jelle Zijlstra.
2016-06-04 23:28:40 +03:00
Serhiy Storchaka
41e9ad1ef4
Issue #21916 : Added tests for the turtle module.
...
Patch by ingrid, Gregory Loyse and Jelle Zijlstra.
2016-06-04 23:27:26 +03:00
Terry Jan Reedy
64b8f6bcc8
Merge with 3.5
2016-06-04 16:16:10 -04:00
Terry Jan Reedy
f13cc2f991
Issue #24759 : Add 'private' notice for idlelib.idle_test.
2016-06-04 16:15:58 -04:00
Terry Jan Reedy
55de5c3de3
Merge: Revise and synchronize idle_test.test_configdialog.
2016-06-04 15:55:53 -04:00
Terry Jan Reedy
05dab096c1
Revise and synchronize idle_test.test_configdialog.
2016-06-04 15:54:44 -04:00
Ethan Furman
958b3e4058
issue27186: add PathLike ABC
2016-06-04 12:49:35 -07:00
Zachary Ware
8bc9378c98
Closes #26809 : Merge with 3.5
2016-06-04 14:41:42 -05:00
Zachary Ware
c17a0b87a6
Issue #26809 : Add __all__ to string module. Patch by Emanuel Barry
2016-06-04 14:35:05 -05:00
Ethan Furman
410ef8e230
issue27186: add C version of os.fspath(); patch by Jelle Zijlstra
2016-06-04 12:06:26 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
c55014f371
issue26372 - use os.devnull instead of /dev/null
2016-06-04 19:05:17 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
78b642c6b2
issue26372 - use os.devnull instead of /dev/null
2016-06-04 19:04:43 +00:00
Serhiy Storchaka
64c26e5f60
Issue #20041 : Fixed TypeError when frame.f_trace is set to None.
...
Patch by Xavier de Gaye.
2016-06-04 20:33:33 +03:00
Serhiy Storchaka
64a263a1ce
Issue #20041 : Fixed TypeError when frame.f_trace is set to None.
...
Patch by Xavier de Gaye.
2016-06-04 20:32:36 +03:00
Ethan Furman
c1cbeedf0c
issue27182: update fsencode and fsdecode for os.path(); patch by Dusty Phillips
2016-06-04 10:19:27 -07:00
Martin Panter
32eeb56f42
Merge Element Tree doc string from 3.5
2016-06-04 07:13:38 +00:00
Martin Panter
29ce082c10
Clarify deprecation of ElementTree.XMLParser(html=...) parameter
2016-06-04 07:12:51 +00:00
Terry Jan Reedy
2cf6ca787a
Merge with 3.5
2016-06-04 02:32:32 -04:00
Terry Jan Reedy
1aa06e1525
IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'.
2016-06-04 02:32:18 -04:00
Martin Panter
29f256909f
Issue #22797 : Synchronize urlopen() doc string with RST documentation
2016-06-04 05:06:34 +00:00
Martin Panter
0f29ad1be5
More typo fixes for 3.6
2016-06-04 05:06:25 +00:00
Martin Panter
19409197e2
Merge typo fixes from 3.5
2016-06-04 05:26:40 +00:00
Martin Panter
3ee6270262
Fix typos in code comment and documentation
2016-06-04 04:57:19 +00:00
Terry Jan Reedy
5a493e9dc4
Merge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings.
2016-06-03 23:58:37 -04:00
Terry Jan Reedy
6047b55372
Issue #27196 : Stop 'application destroyed' warnings when running IDLE tests.
...
The update_idletasks solution was provided by Serhiy Storchaka.
2016-06-03 23:53:56 -04:00
Terry Jan Reedy
3d7281d2bd
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.
2016-06-03 22:28:05 -04:00
Terry Jan Reedy
75cbeb5dac
Issue 20567: Revise idle_test/README.txt and some tests to match new advice.
2016-06-03 22:19:17 -04:00
Ned Deily
622b2f6ec9
Issue #24225 : Fix additional renamed module references.
2016-06-03 17:50:44 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
fcbf1ca4f9
merge from 3.5 - Fixes Issue #26373 : subprocess.Popen.communicate
...
now correctly ignores BrokenPipeError when the child process dies
before .communicate() is called in more (all?) circumstances.
2016-06-04 00:34:15 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
1ef8c7e886
Fixes Issue #26373 : subprocess.Popen.communicate now correctly ignores
...
BrokenPipeError when the child process dies before .communicate()
is called in more (all?) circumstances.
2016-06-04 00:22:17 +00:00
R David Murray
d2367c651e
Clean up urlopen doc string.
...
Clarifies what is returned when and that the methods are common between the two.
Patch by Alexander Liu as part of #22797 .
2016-06-03 20:16:06 -04:00
R David Murray
13ee7d15e3
Merge: #16484 : Fix pydoc doc links to modules whose names are mixed case.
2016-06-03 19:29:18 -04:00
R David Murray
ead9bfc5c3
#16484 : Fix pydoc doc links to modules whose names are mixed case.
...
Patch by Sean Rodman, test by Kaushik N.
2016-06-03 19:28:35 -04:00
Ned Deily
6371152154
first step in backout of bad default->3.5 merge d085b4f779af. Create new head and fix whitespace.
2016-06-03 15:17:13 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
6f20bd6063
signal, socket, and ssl module IntEnum constant name lookups now return a
...
consistent name for values having multiple names. Ex: signal.Signals(6)
now refers to itself as signal.SIGALRM rather than flipping between that
and signal.SIGIOT based on the interpreter's hash randomization seed.
This helps finish issue27167.
2016-06-03 19:14:52 +00:00
Serhiy Storchaka
16931c3559
Issue #26983 : float() now always return an instance of exact float.
...
The deprecation warning is emitted if __float__ returns an instance of
a strict subclass of float. In a future versions of Python this can
be an error.
2016-06-03 21:42:55 +03:00
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
Steve Dower
33bc4a2983
Issue #27114 : Fix SSLContext._load_windows_store_certs fails with PermissionError
2016-05-26 12:18:12 -07:00
Guido van Rossum
e67c92ea70
Comment/docstring tweaks for typing.py. (Merge 3.5->3.6)
2016-05-26 09:56:46 -07:00
Guido van Rossum
b22c708989
Comment/docstring tweaks for typing.py.
2016-05-26 09:56:19 -07:00
Victor Stinner
b69d3fea88
Merge 3.5 (test_warnings)
2016-05-26 15:22:14 +02:00
Victor Stinner
0025eb145f
test_warnings: catch stderr and check warning
...
Check the user warning in test_error_after_default() to not pollute the output,
and check the warning logged into stderr.
2016-05-26 15:21:25 +02:00
Martin Panter
b6ae2ae47c
Issue #18383 : Merge warnings fix from 3.5
2016-05-26 09:39:41 +00:00
Martin Panter
43593a1892
Issue #18383 : Avoid adding duplicate filters when warnings is reloaded
...
Based on patch by Alex Shkop.
2016-05-26 09:10:55 +00:00
Martin Panter
f157982b2c
Issue #27076 : More doc and comment spelling fixes for 3.6, by Ville Skyttä
2016-05-26 06:03:33 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Guido van Rossum
70223d9b09
Added Type[C] implementation to typing.py. (Merge 3.5->3.6)
2016-05-24 16:39:23 -07:00
Guido van Rossum
eb9aca3c07
Added Type[C] implementation to typing.py.
2016-05-24 16:38:22 -07:00
Steve Dower
80ac11d01e
Issue #23026 : winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril)
2016-05-24 15:42:04 -07:00
Serhiy Storchaka
b0f80b0312
Issue #26647 : Python interpreter now uses 16-bit wordcode instead of bytecode.
...
Patch by Demur Rumed.
2016-05-24 09:15:14 +03:00
Serhiy Storchaka
8ec1175204
Issue #26927 : Fixed test_mmap on platforms with 32-bit off_t (like Android).
...
Patch by Xavier de Gaye.
2016-05-23 08:42:09 +03:00
Serhiy Storchaka
05d3921cc1
Issue #26927 : Fixed test_mmap on platforms with 32-bit off_t (like Android).
...
Patch by Xavier de Gaye.
2016-05-23 08:41:48 +03:00
Terry Jan Reedy
0d9220e162
Issue #24225 : Rename many idlelib/*.py and idlelib/idle_test/test_*.py files.
2016-05-22 19:10:31 -04:00
Terry Jan Reedy
9fa149dd24
Merge with 3.5
2016-05-22 14:35:43 -04:00
Terry Jan Reedy
5917f973ac
Issue #26673 : Protect IDLE from Linux fonts with reported default size 0.
...
Such fonts on Linux prevented the configuration dialog from opening.
2016-05-22 14:35:24 -04:00
Serhiy Storchaka
70b49f60f4
Fixed an error in previous commit.
2016-05-22 18:23:51 +03:00
Serhiy Storchaka
0a91e43820
Fixed an error in previous commit.
2016-05-22 18:23:36 +03:00
Serhiy Storchaka
66e26eaeac
Temporary skip curses tests on non-tty (issue #27067 ).
2016-05-22 18:17:25 +03:00
Serhiy Storchaka
53a00353b6
Temporary skip curses tests on non-tty (issue #27067 ).
2016-05-22 18:16:20 +03:00
Yury Selivanov
72005f1744
Merge 3.5 (asyncio)
2016-05-21 16:50:31 -04:00
Yury Selivanov
f0200e06f0
asyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info)
2016-05-21 16:50:16 -04:00
Serhiy Storchaka
b227b8b1bb
Issue #27067 : Improved curses tests.
2016-05-21 21:36:29 +03:00
Serhiy Storchaka
0eb39e7886
Issue #27067 : Improved curses tests.
2016-05-21 21:36:11 +03:00
Yury Selivanov
010f361dad
Merge 3.5 (asyncio)
2016-05-20 17:44:44 -04:00
Yury Selivanov
eaaaee8c56
asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg
...
Patch by A. Jesse Jiryu Davis.
2016-05-20 17:44:19 -04:00
Serhiy Storchaka
742206d95c
Issue #27063 : Some unittest loader tests were silently skipped.
2016-05-20 23:29:07 +03:00
Serhiy Storchaka
0dad755600
Issue #27063 : Some unittest loader tests were silently skipped.
2016-05-20 23:28:37 +03:00
Serhiy Storchaka
2a95219bc4
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:50 +03:00
Serhiy Storchaka
13e602ea0f
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:14 +03:00