Terry Jan Reedy
d87d16826a
Issue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
...
editor font. This should not affect current customized font selections.
Patch by Mark Roseman.
2015-08-01 18:57:33 -04:00
Terry Jan Reedy
231007fe14
Issue #21192 : Idle Editor. When a file is run, put its name in the restart bar.
...
Do not print false prompts. Original patch by Adnan Umer.
2015-07-31 22:34:37 -04:00
Victor Stinner
9a82bd45cd
Issue #24763 : Fix asyncio test on Windows
2015-07-31 23:36:00 +02:00
Robert Collins
2080dc97a7
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:18:22 +12:00
Victor Stinner
6fb1e740c6
Fix ResourceWarning in asyncio.BaseSubprocessTransport
...
Issue #24763 : Fix resource warnings when asyncio.BaseSubprocessTransport
constructor fails, if subprocess.Popen raises an exception for example.
Patch written by Martin Richard, test written by me.
2015-07-31 17:49:43 +02:00
Terry Jan Reedy
062759f1dc
Issue 24759: Gracefull exit Idle if ttk import fails.
2015-07-30 21:16:16 -04:00
Robert Collins
5ccc18f298
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 08:59:02 +12:00
Terry Jan Reedy
30f1f67248
Issue #13884 : Idle: Remove tearoff lines from menus. Patch by Roger Serwy.
2015-07-30 16:44:22 -04:00
Berker Peksag
41ca828580
Issue #12160 : Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
...
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().
Patch by Nick Weinhold.
2015-07-30 18:26:10 +03:00
Victor Stinner
9c631a0f71
Issue #23319 : Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
...
written by Matthieu Gautier.
2015-07-29 14:33:52 +02:00
Robert Collins
1ee9283254
Issue #23254 : Document how to close the TCPServer listening socket.
...
Patch from Martin Panter.
2015-07-29 12:52:40 +12:00
Berker Peksag
aaf6114b37
Issue #23441 : rcompleter now prints a tab character instead of displaying
...
possible completions for an empty word.
Initial patch by Martin Sekera.
2015-07-28 00:06:31 +03:00
Robert Collins
ddc7440b0e
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:42:01 +12:00
Serhiy Storchaka
83236f7a8b
Issue #24683 : Fixed crashes in _json functions called with arguments of
...
inappropriate type.
2015-07-26 09:01:22 +03:00
Berker Peksag
5a294d822b
Issue #21697 : shutil.copytree() now correctly handles symbolic links that point to directories.
...
Patch by Eduardo Seabra and Thomas Kluyver.
2015-07-25 14:53:48 +03:00
Victor Stinner
eaf16abc68
asyncio: sync with github
...
* Fix ResourceWarning warnings in test_streams
* Return True from StreamReader.eof_received() to fix
http://bugs.python.org/issue24539 (but still needs a unittest).
Add StreamReader.__repr__() for easy debugging.
* remove unused imports
* Issue #234 : Drop JoinableQueue on Python 3.5+
2015-07-25 02:40:40 +02:00
Victor Stinner
71080fc351
asyncio: Add asyncio.compat module
...
Move compatibility helpers for the different Python versions to a new
asyncio.compat module.
2015-07-25 02:23:21 +02:00
Serhiy Storchaka
178f0b6ddc
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:02:53 +03:00
Robert Collins
ca647ef60a
Issue #21750 : Further fixup to be styled like other mock APIs.
2015-07-24 03:48:20 +12:00
Serhiy Storchaka
750eae1bd4
Issue #24678 : Fixed raiseExceptions typo in logging tests.
...
Patch by Jacek Kołodziej.
2015-07-21 22:39:26 +03:00
Terry Jan Reedy
19c1a8725c
Issue #20792 : Expand idle_test.test_pathbowser. Tweak file to not copy twice.
...
Original patch by Saimadhav Heblikar.
2015-07-20 17:44:59 -04:00
Victor Stinner
c0b1e0f868
Issue #24675 : Avoid DeprecationWarning in test_os
...
Patch written by Martin Panter. I replace tearDown() with addCleanup().
2015-07-20 17:12:57 +02:00
Serhiy Storchaka
3018cc49e8
Issue #24206 : Fixed __eq__ and __ne__ methods of inspect classes.
2015-07-18 23:19:05 +03:00
Robert Collins
92b3e06517
Typo fix in mock.patch.
...
Patch from https://github.com/testing-cabal/mock/issues/215
2015-07-17 21:58:36 +12:00
Robert Collins
5329aaa74b
Issue #21750 : mock_open.read_data can now be read from each instance, as it
...
could in Python 3.3.
2015-07-17 20:08:45 +12:00
Victor Stinner
579db160b3
Closes #23247 : Fix a crash in the StreamWriter.reset() of CJK codecs
2015-07-16 22:17:31 +02:00
Robert Collins
b37f43f94b
- Issue #18622 : unittest.mock.mock_open().reset_mock would recurse infinitely.
...
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:42:28 +12:00
Steve Dower
71a36f735b
Issue #24634 : Importing uuid should not try to load libc on Windows
2015-07-14 13:25:03 -07:00
Stefan Krah
0c51595a78
Issue #15944 : memoryview: Allow arbitrary formats when casting to bytes.
...
Original patch by Martin Panter.
2015-08-08 13:38:10 +02:00
Steve Dower
917c2c3654
Issue #4214 : Remove ineffectual /pdb:none option from msvc9compiler.py
2015-08-07 19:48:26 -07:00
Eric Snow
8c7f9558eb
Issue #24667 : Resize odict in all cases that the underlying dict resizes.
2015-08-07 17:45:12 -06:00
Steve Dower
31202eaa5c
Issue #24798 : _msvccompiler.py doesn't properly support manifests
2015-08-05 11:39:19 -07:00
Robert Collins
00cf3c394a
Issue #4395 : Better testing and documentation of binary operators.
...
Patch by Martin Panter.
2015-08-07 10:32:15 +12:00
Yury Selivanov
e03f42717c
Merge 3.4 (issue #23812 )
2015-08-06 14:04:12 -04:00
Berker Peksag
abfaecdfdd
Issue #23004 : mock_open() now reads binary data correctly when the type of read_data is bytes.
...
Initial patch by Aaron Hill.
2015-08-06 13:16:52 +03:00
Terry Jan Reedy
0901d84e35
Issue #23672:Merge with 3.4
2015-08-06 00:54:45 -04:00
Yury Selivanov
50a2614786
Issue #24791 : More tests in test_parser
2015-08-05 17:59:45 -04:00
Yury Selivanov
14acf5f41d
Issue #24791 : Fix grammar regression for call syntax: 'g(*a or b)'.
2015-08-05 17:54:10 -04:00
Steve Dower
cedef652fa
Rebuild wininst-14.0[-amd64].exe with updated tools.
2015-08-05 11:48:14 -07:00
Yury Selivanov
6d0c4c38d1
asyncio.test_pep492: Add a test for asyncio.iscoroutinefunction
2015-08-05 14:47:33 -04:00
Yury Selivanov
6703d032a5
Merge 3.4 (asyncio)
2015-08-05 14:06:38 -04:00
Yury Selivanov
22506d24ee
Issue #23812 : Fix asyncio.Queue.get() to avoid loosing items on cancellation.
...
Patch by Gustavo J. A. M. Carneiro.
2015-08-05 13:55:54 -04:00
Guido van Rossum
d70fe639c1
Issue #23973 : Update typing.py from GitHub repo.
2015-08-05 12:11:06 +02:00
Zachary Ware
40648838b2
Issue #24751 : Merge with 3.4
2015-08-04 21:58:00 -05:00
Yury Selivanov
78c89eb0ac
Merge 3.4
2015-08-04 15:56:53 -04:00
Yury Selivanov
3563ccc9a0
Merge 3.4
2015-08-04 15:37:45 -04:00
Robert Collins
1f9a29f31b
Issue #24021 : docstring for urllib.urlcleanup.
...
Patch from Daniel Andrade Groppe and Peter Lovett
2015-08-04 12:52:43 +12:00
Terry Jan Reedy
d6dabe01eb
Merge
2015-08-03 18:41:57 -04:00
Terry Jan Reedy
f71a79cb72
Issue #24759 : Merge with 3.4
2015-08-03 18:34:45 -04:00
Robert Collins
f3d9c315b6
Issue #23888 : Handle fractional time in cookie expiry. Patch by ssh.
2015-08-04 10:07:06 +12:00
Robert Collins
6f8a0586a9
Issue #22397 : Skip failing tests on AIX
...
Patch from David Edelsohn.
2015-08-03 10:38:39 +12:00
Yury Selivanov
c3fcb9696c
Merge 3.4
2015-08-02 16:49:44 -04:00
Yury Selivanov
32ba405ce5
Merge 3.4
2015-08-02 10:24:49 -04:00
Serhiy Storchaka
b064f1e94f
Issue #20557 : Use specific asserts in io tests.
2015-08-02 15:18:28 +03:00
Zachary Ware
13db76a974
Issue #23182 : Merge with 3.4
2015-08-01 21:57:22 -05:00
Terry Jan Reedy
1b3c8f8eec
Issue 24745: Merge with 3.4
2015-08-01 18:58:23 -04:00
Terry Jan Reedy
26f667676f
Merge with 3.4
2015-07-31 22:35:00 -04:00
Victor Stinner
a0a28b076a
Merge 3.4 (asyncio test)
2015-07-31 23:36:15 +02:00
Robert Collins
19fae1a932
Issue #22932 : Fix timezones in email.utils.formatdate.
...
Patch from Dmitry Shachnev.
2015-08-01 08:19:06 +12:00
Victor Stinner
a7a4c41411
Merge 3.4 (asyncio)
2015-07-31 17:50:13 +02:00
Terry Jan Reedy
b20ac4df84
Merge with 3.4
2015-07-30 21:16:29 -04:00
Robert Collins
78378e8939
Issue #23779 : imaplib raises TypeError if authenticator tries to abort.
...
Patch from Craig Holmquist.
2015-07-31 09:01:38 +12:00
Terry Jan Reedy
659fcb0a8d
Merge with 3.4
2015-07-30 16:44:41 -04:00
Steve Dower
b465cb50de
Update default msvccompiler link options to match the options used for core builds.
...
This ensures that wheels will work when moved to machines that have the same subset of the MSVC libraries as a regular CPython install. Specifically, vcruntime##0.dll may not be installed, and should not be a dependency.
2015-07-30 11:51:06 -07:00
Berker Peksag
7e94e8ea4b
Issue #12160 : Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
...
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().
Patch by Nick Weinhold.
2015-07-30 18:26:35 +03:00
Victor Stinner
5ef6fde92c
Merge 3.4 (ctypes)
2015-07-29 14:35:12 +02:00
Robert Collins
f7e3b5e153
Issue #23254 : Document how to close the TCPServer listening socket.
...
Patch from Martin Panter.
2015-07-29 12:53:30 +12:00
Berker Peksag
0659c43d73
Issue #23441 : rcompleter now prints a tab character instead of displaying
...
possible completions for an empty word.
Initial patch by Martin Sekera.
2015-07-28 00:08:24 +03:00
Robert Collins
f66f4208b7
Issue #17527 : Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
2015-07-27 10:42:54 +12:00
Larry Hastings
71427eea74
Merge Python 3.5.0b4 changes back with 3.5 branch head.
2015-07-26 07:59:45 -07:00
Serhiy Storchaka
f002225f7e
Issue #24683 : Fixed crashes in _json functions called with arguments of
...
inappropriate type.
2015-07-26 09:02:23 +03:00
Larry Hastings
197ae02f87
Updated pydoc topics for 3.5.0b4.
2015-07-25 14:17:35 -07:00
Berker Peksag
940d69d444
Issue #21697 : shutil.copytree() now correctly handles symbolic links that point to directories.
...
Patch by Eduardo Seabra and Thomas Kluyver.
2015-07-25 14:55:06 +03:00
Berker Peksag
00f8197540
Issue #24279 : Update test_base64 to use test.support.script_helper.
...
Initial patch by Christie.
2015-07-25 14:14:24 +03:00
Victor Stinner
389e3d768d
Merge 3.4
2015-07-25 02:43:31 +02:00
Berker Peksag
c3f417dc47
Issue #24695 : Fix a regression in traceback.print_exception()
...
If exc_traceback is None we shouldn't print a traceback header
like described in the documentation.
2015-07-24 17:36:21 +03:00
Serhiy Storchaka
c19bb3279c
Issue #24620 : Random.setstate() now validates the value of state last element.
2015-07-24 09:05:59 +03:00
Meador Inge
5b718d7f4f
Issue #24485 : Function source inspection fails on closures.
...
The fix for Issue #21217 introduced a regression that caused
`inspect.getsource` to return incorrect results on nested
functions. The root cause of the regression was due to
switching the implementation to analyze the underlying
bytecode instead of the source code.
This commit switches things back to analyzing the source code
in a more complete way. The original bug and the regression
are both fixed by the new source code analysis.
2015-07-23 22:49:37 -05:00
Robert Collins
88ba360c88
Issue #21750 : Further fixup to be styled like other mock APIs.
2015-07-24 03:48:45 +12:00
Yury Selivanov
4f4913b38b
Issue #24485 : Revert backwards compatibility breaking changes of #21217 .
2015-07-23 17:10:00 +03:00
Yury Selivanov
4887523c03
Issue #24692 : Add more tests for types.coroutine
2015-07-23 15:58:37 +03:00
Yury Selivanov
96ec934e75
Issue #24619 : Simplify async/await tokenization.
...
This commit simplifies async/await tokenization in tokenizer.c,
tokenize.py & lib2to3/tokenize.py. Previous solution was to keep
a stack of async-def & def blocks, whereas the new approach is just
to remember position of the outermost async-def block.
This change won't bring any parsing performance improvements, but
it makes the code much easier to read and validate.
2015-07-23 15:01:58 +03:00
Yury Selivanov
f315c1c016
Issue #24687 : Plug refleak on SyntaxError in function parameters annotations.
2015-07-23 09:10:44 +03:00
Yury Selivanov
2f07a66ded
Issue #24688 : ast.get_docstring() for 'async def' functions.
2015-07-23 08:54:35 +03:00
Berker Peksag
b5754321d0
Issue #23440 : Improve http.server.SimpleHTTPRequestHandler tests
...
* Tests that index.html is served, rather than an automatic directory listing
* Tests that there is no extra data sent after the response
Patch by Martin Panter.
2015-07-22 19:25:37 +03:00
Yury Selivanov
b7666a3093
Issue #24619 : More tests; fix nits in compiler.c
2015-07-22 14:48:57 +03:00
Yury Selivanov
8fb307cd65
Issue #24619 : New approach for tokenizing async/await.
...
This commit fixes how one-line async-defs and defs are tracked
by tokenizer. It allows to correctly parse invalid code such
as:
>>> async def f():
... def g(): pass
... async = 10
and valid code such as:
>>> async def f():
... async def g(): pass
... await z
As a consequence, is is now possible to have one-line
'async def foo(): await ..' functions:
>>> async def foo(): return await bar()
2015-07-22 13:33:45 +03:00
Serhiy Storchaka
296b347db7
Issue #24678 : Fixed raiseExceptions typo in logging tests.
...
Patch by Jacek Kołodziej.
2015-07-21 22:40:18 +03:00
Yury Selivanov
e4e811d65b
Issue #24669 : Fix inspect.getsource() for 'async def' functions.
...
Patch by Kai Groner.
2015-07-21 19:01:52 +03:00
Berker Peksag
036a71bf25
Use setUpClass and tearDownClass correctly in test_os.
...
According to the documentation, they must be decorated as classmethods.
2015-07-21 09:29:48 +03:00
Terry Jan Reedy
fd580cbd17
Merge with 3.4
2015-07-20 17:45:22 -04:00
Victor Stinner
3d0b8422bc
Merge 3.4
2015-07-20 17:13:16 +02:00
Serhiy Storchaka
485407ce1e
Issue #24580 : Symbolic group references to open group in re patterns now are
...
explicitly forbidden as well as numeric group references.
2015-07-18 23:27:00 +03:00
Serhiy Storchaka
2489bd5d4e
Issue #24206 : Fixed __eq__ and __ne__ methods of inspect classes.
2015-07-18 23:20:50 +03:00
Steve Dower
2d37cb2e1d
Fixes sys.path for applocal environments.
2015-07-17 11:59:21 -07:00
Robert Collins
1a80081272
Typo fix in mock.patch.
...
Patch from https://github.com/testing-cabal/mock/issues/215
2015-07-17 22:00:28 +12:00
Robert Collins
4838717b53
Issue #21750 : mock_open.read_data can now be read from each instance, as it
...
could in Python 3.3.
2015-07-17 20:10:23 +12:00
Victor Stinner
8cc80f1d81
Merge 3.4
2015-07-16 22:20:19 +02:00
Raymond Hettinger
a3626bc5bd
Issue #24583 : Fix crash when set is mutated while being updated.
2015-07-15 23:50:14 -07:00
Serhiy Storchaka
ced770da07
Issue #24631 : Fixed regression in the timeit modulu with multyline setup.
2015-07-15 22:11:36 +03:00