Commit Graph

37452 Commits

Author SHA1 Message Date
Robert Collins a7282c0ff7 - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:51:22 +12:00
Robert Collins 76d508b5d4 - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
Patch from Nicola Palumbo and Laurent De Buyst.
2015-07-15 11:49:43 +12: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
Robert Collins f58f88c4c7 Issue #23661: unittest.mock side_effects can now be exceptions again.
This was a regression vs Python 3.4. Patch from Ignacio Rossi
2015-07-14 13:51:40 +12:00
Robert Collins a3fffb0539 Issue #23661: unittest.mock side_effects can now be exceptions again.
This was a regression vs Python 3.4. Patch from Ignacio Rossi
2015-07-14 13:51:40 +12:00
Serhiy Storchaka e5505175e5 Issue #24608: chunk.Chunk.read() now always returns bytes, not str. 2015-07-10 22:26:44 +03:00
Serhiy Storchaka 05121159b3 Issue #24608: chunk.Chunk.read() now always returns bytes, not str. 2015-07-10 22:26:08 +03:00
Serhiy Storchaka d44768ff16 Issue #24608: chunk.Chunk.read() now always returns bytes, not str. 2015-07-10 22:24:47 +03:00
Serhiy Storchaka 16c96bb22e Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:14:08 +03:00
Serhiy Storchaka 3d031e6199 Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:52 +03:00
Serhiy Storchaka e0fd7ef6bb Corrected docstrings of audio modules. writeframes() accepts bytes, not str. 2015-07-10 22:13:40 +03:00
Victor Stinner 40949e0544 Merge 3.5 (asyncio) 2015-07-09 23:16:46 +02:00
Victor Stinner fb578f0a05 Merge 3.4 (asyncio) 2015-07-09 23:14:50 +02:00
Victor Stinner e6ecea53c8 asyncio: sync with github asyncio
* queues: get coroutine from asyncio.coroutines, not from asyncio.tasks
* tets: replace tulip with asyncio in comments
2015-07-09 23:13:50 +02:00
Barry Warsaw f5b062997b - Issue #15014: SMTP.auth() and SMTP.login() now support RFC 4954's optional
initial-response argument to the SMTP AUTH command.
2015-07-09 10:42:37 -04:00
Barry Warsaw c5ea754e48 - Issue #15014: SMTP.auth() and SMTP.login() now support RFC 4954's optional
initial-response argument to the SMTP AUTH command.
2015-07-09 10:39:55 -04:00
Serhiy Storchaka d6b0c4b8a4 Added regression test for issue24581. 2015-07-08 23:02:51 +03:00
Serhiy Storchaka 9e7a0468ef Added regression test for issue24581. 2015-07-08 23:02:18 +03:00
Serhiy Storchaka af320b389b Added regression test for issue24581. 2015-07-08 22:58:55 +03:00
Lars Gustäbel 7afe40e40e Merge with 3.5: Issue #24259: tarfile now raises a ReadError if an archive is truncated inside a data segment. 2015-07-06 09:32:05 +02:00
Lars Gustäbel e12aa62d68 Merge with 3.4: Issue #24259: tarfile now raises a ReadError if an archive is truncated inside a data segment. 2015-07-06 09:29:41 +02:00
Lars Gustäbel 0357268d96 Issue #24259: tarfile now raises a ReadError if an archive is truncated inside a data segment. 2015-07-06 09:27:24 +02:00
Ned Deily 14806c4b86 Issue #24540: merger from 3.5 2015-07-05 11:46:12 -07:00
Ned Deily 53ecc58bd9 Issue #24540: merger from 3.4 2015-07-05 11:45:31 -07:00
Ned Deily 54630d999f Issue #24540: fix typo in json.dumps docstring 2015-07-05 11:45:01 -07:00
Larry Hastings ab30353adb Merge with ongoing work in 3.5 branch. 2015-07-05 10:31:09 -07:00
Benjamin Peterson 9f71cb0fee merge 3.5 (#24569) 2015-07-05 10:38:05 -05:00
Benjamin Peterson d5d77aac60 set items in dict displays from left to right (closes #24569) 2015-07-05 10:37:25 -05:00
Benjamin Peterson 191a8f0a34 merge heads 2015-07-04 22:53:45 -05:00
Benjamin Peterson 63eaf7b73d merge heads 2015-07-04 22:53:11 -05:00
Benjamin Peterson 1da0612e70 merge heads 2015-07-04 22:52:33 -05:00
Larry Hastings aaa377f01d Documentation fixes for 3.5.0b3. 2015-07-04 19:11:41 -07:00
Benjamin Peterson d34c246baf merge 3.5 (#24407) 2015-07-04 19:59:50 -05:00
Benjamin Peterson e54d5321cc merge 3.4 (#24407) 2015-07-04 19:59:24 -05:00
Benjamin Peterson 2a48a6eb33 merge 3.3 (#24407) 2015-07-04 19:58:11 -05:00
Benjamin Peterson a82f77fb00 protect against mutation of the dict during insertion (closes #24407) 2015-07-04 19:55:16 -05:00
Ned Deily 7fe0507d07 Issue #24330: merge from 3.5 2015-07-04 15:06:43 -07:00
Ned Deily 2e770ce9a0 Issue #24330: merge from 3.4 2015-07-04 15:06:21 -07:00
Ned Deily f1ce6deb41 Issue #24330: Update IDLE doc and help to note "Configure IDLE" difference
on OS X.  Original patch by André Freitas.
2015-07-04 15:05:07 -07:00
Yury Selivanov d48fb485d9 Merge 3.5 (Issue #24400) 2015-07-03 13:11:54 -04:00
Yury Selivanov fdbeb2b4b6 Issue #24400: Resurrect inspect.isawaitable()
collections.abc.Awaitable and collections.abc.Coroutine no longer
use __instancecheck__ hook to detect generator-based coroutines.

inspect.isawaitable() can be used to detect generator-based coroutines
and to distinguish them from regular generator objects.
2015-07-03 13:11:35 -04:00
Yury Selivanov 4bbc3cc760 Merge 3.5 2015-07-03 01:16:20 -04:00
Yury Selivanov ccc897f839 Add a rudimentary test for StopAsyncIteration in test_exceptions. 2015-07-03 01:16:04 -04:00
Yury Selivanov bb215e2300 Merge 3.5 (Issue #19235) 2015-07-03 01:10:11 -04:00
Yury Selivanov f488fb422a Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 2015-07-03 01:04:23 -04:00
Yury Selivanov 1c5e5a89b4 Merge 3.5 (Issue #24450) 2015-07-03 00:42:01 -04:00
Yury Selivanov 27be130ec7 Merge 3.4 (Issue #24450) 2015-07-03 00:41:40 -04:00
Yury Selivanov 09e6058838 Issue #24450: Proxy gi_yieldfrom & cr_await in asyncio.CoroWrapper 2015-07-03 00:41:16 -04:00
Yury Selivanov b166d58b9e Merge 3.5 (Issue #24450) 2015-07-03 00:35:29 -04:00
Yury Selivanov 53e623075d Issue #24450: Proxy cr_await and gi_yieldfrom in @types.coroutine 2015-07-03 00:35:02 -04:00