Commit graph

20595 commits

Author SHA1 Message Date
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
Victor Stinner
fd44384f33 Merge 3.5 2015-07-20 17:13:28 +02:00
Victor Stinner
3d0b8422bc Merge 3.4 2015-07-20 17:13:16 +02: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
498b5e98e9 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:37:31 +03: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
44a5cd654d Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes. 2015-07-18 23:21:16 +03:00
Serhiy Storchaka
2489bd5d4e Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes. 2015-07-18 23:20:50 +03:00
Serhiy Storchaka
3018cc49e8 Issue #24206: Fixed __eq__ and __ne__ methods of inspect classes. 2015-07-18 23:19:05 +03:00
Victor Stinner
71f89216c4 Merge 3.5 2015-07-16 22:21:11 +02:00
Victor Stinner
8cc80f1d81 Merge 3.4 2015-07-16 22:20:19 +02:00
Victor Stinner
579db160b3 Closes #23247: Fix a crash in the StreamWriter.reset() of CJK codecs 2015-07-16 22:17:31 +02:00
Raymond Hettinger
d702044bcd merge 2015-07-15 23:52:29 -07: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
3a22908659 Issue #24631: Fixed regression in the timeit modulu with multyline setup. 2015-07-15 22:12:33 +03:00
Serhiy Storchaka
ced770da07 Issue #24631: Fixed regression in the timeit modulu with multyline setup. 2015-07-15 22:11:36 +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
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
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
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
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
Yury Selivanov
d6d0b5b1fa Merge 3.5 (Issue #24450) 2015-07-03 00:24:14 -04:00
Yury Selivanov
e13f8f3cab Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines.
Patch by Benno Leslie and Yury Selivanov.
2015-07-03 00:23:30 -04:00
Benjamin Peterson
ac2ed9d895 merge 3.5 2015-07-02 16:58:38 -05:00
Benjamin Peterson
b32b998bf7 merge 3.4 2015-07-02 16:58:31 -05:00
Benjamin Peterson
d3a2a95125 use correct __new__ method (closes #24552) 2015-07-02 16:58:22 -05:00
Benjamin Peterson
09dd773c13 merge 3.5 (#24552) 2015-07-02 16:19:05 -05:00
Benjamin Peterson
42e913aa3a merge 3.4 (#24552) 2015-07-02 16:18:58 -05:00
Benjamin Peterson
80f78a3efc fix use after free (closes #24552) 2015-07-02 16:18:38 -05:00
Lars Gustäbel
60eaba04cd Merge with 3.5: Issue #24514: tarfile now tolerates number fields consisting of only whitespace. 2015-07-02 19:42:09 +02:00