Berker Peksag
9e7990ae21
Issue #24210 : Silence more PendingDeprecationWarning warnings in tests.
2015-05-16 23:21:26 +03:00
R David Murray
b744f3a45e
#21083 : add get_content_disposition method to email.message.
...
Patch by Abhilash Raj.
2015-05-16 15:41:07 -04:00
R David Murray
b8cd3e4e30
#21804 : Add RFC 6856 (UTF8) support to poplib.
...
Patch by Milan Oberkirch.
2015-05-16 15:05:53 -04:00
Serhiy Storchaka
6d90fd5fd9
Added tests for more builtin types.
...
Made test_pprint discoverable.
2015-05-16 21:35:56 +03:00
Serhiy Storchaka
5dbb40ff17
Added tests for more builtin types.
...
Made test_pprint discoverable.
2015-05-16 21:35:24 +03:00
R David Murray
cee7cf6026
#22027 : Add RFC6531 support to smtplib.
...
Initial patch by Milan Oberkirch.
2015-05-16 13:58:14 -04:00
Yury Selivanov
b907a513c8
Issue 24190: Add inspect.BoundArguments.apply_defaults() method.
2015-05-16 13:45:09 -04:00
Yury Selivanov
6738b1157a
Issue 24208: Fix tests -- don't create a tempdir in __init__.
2015-05-16 10:10:21 -04:00
Benjamin Peterson
de12b79cd6
allow test node after ** in calls ( closes #24176 )
2015-05-16 09:44:45 -04:00
Eric Snow
183a941bc1
Issue #24192 : Fix namespace package imports.
2015-05-15 21:54:59 -06:00
Yury Selivanov
0cd2bf46ba
Issue 24200: Fix broken unittest.
2015-05-15 12:55:20 -04:00
Yury Selivanov
f229bc5c53
inspect: Remove "0x..." IDs from Signature objects' __repr__
...
Issue 24200.
2015-05-15 12:53:56 -04:00
Yury Selivanov
3f6538fed0
Issue 22547: Implement informative __repr__ for inspect.BoundArguments
2015-05-14 18:47:17 -04:00
Yury Selivanov
4cfd4eac7d
inspect: Test that BoundArguments.__eq__ repects the order of params
2015-05-14 18:30:27 -04:00
Yury Selivanov
e0104ae103
Issue 24184: Add AsyncIterator and AsyncIterable to collections.abc.
2015-05-14 12:19:16 -04:00
Yury Selivanov
08e5300afc
collections.abc.tests: Remove some unnecessary code.
2015-05-13 23:57:59 -04:00
Yury Selivanov
aded55c6e3
collections.abc: Test that if an object is a Coroutine it is also an Awaitable
2015-05-13 23:41:55 -04:00
Yury Selivanov
9113dc7c97
Issue 24017: More tests for 'async for' and 'async with'.
2015-05-13 16:49:35 -04:00
Yury Selivanov
c41632a856
asyncio/tests: Drop unused import.
2015-05-13 15:37:48 -04:00
Yury Selivanov
6c792bd65a
asyncio: Add a test for asyncio.iscoroutine().
...
Test that asyncio.iscoroutine() supports 'async def' coroutines and
collections.abc.Coroutine types.
2015-05-13 15:34:12 -04:00
Yury Selivanov
33c6b569b7
Issue 24179: Support 'async for' for asyncio.StreamReader.
2015-05-13 14:23:29 -04:00
Yury Selivanov
29f88c22e6
Issue 24178: support 'async with' for asyncio locks.
2015-05-13 14:10:38 -04:00
Berker Peksag
2f3742b0d8
Issue #1322 : platform.dist() and platform.linux_distribution() functions are now deprecated.
...
Initial patch by Vajrasky Kok.
2015-05-13 12:32:20 +03:00
Raymond Hettinger
eac503aeac
Issue #24064 : Property() docstrings are now writeable.
...
(Patch by Berker Peksag.)
2015-05-13 01:09:59 -07:00
Zachary Ware
37ac590f7c
Clean up test_coroutines a bit.
...
No more test_main(), s/assertEquals/assertEqual/, and remove unused import.
2015-05-13 01:03:06 -05:00
Nick Coghlan
baaadbf70d
Issue 24017: fix for "async with" refcounting
...
* adds missing INCREF in WITH_CLEANUP_START
* adds missing DECREF in WITH_CLEANUP_FINISH
* adds several new tests Yury created while investigating this
2015-05-13 15:54:02 +10:00
Zachary Ware
d9b25bb511
Issue #23731 : Fix tracemalloc test on Windows.
...
'a.pyo' can no longer match 'a.py', so 'a.PYO' can't either.
2015-05-13 00:27:01 -05:00
Zachary Ware
ad3e27ae4c
Issue #23193 : Skip numeric_owner tests on platforms where they don't make sense
...
In particular, the tests bomb out on Windows. The feature is a no-op on platforms
without the pwd module or os.geteuid anyway.
2015-05-12 23:57:21 -05:00
Raymond Hettinger
849564f874
Extend test coverage to include heapifying large heaps
2015-05-12 21:42:40 -07:00
Serhiy Storchaka
48e47aaa28
Issue #22486 : Added the math.gcd() function. The fractions.gcd() function now is
...
deprecated. Based on patch by Mark Dickinson.
2015-05-13 00:19:51 +03:00
Serhiy Storchaka
f0eeedf0d8
Issue #22681 : Added support for the koi8_t encoding.
2015-05-12 23:24:19 +03:00
Serhiy Storchaka
ad8a1c3fb2
Issue #22682 : Added support for the kz1048 encoding.
2015-05-12 23:16:55 +03:00
Yury Selivanov
fdba8381ff
Issue #24017 : Unset asyncio event loop after test.
2015-05-12 14:28:08 -04:00
Berker Peksag
ea6d5592f2
Issue #23796 : peak and read1 methods of BufferedReader now raise ValueError
...
if they called on a closed object.
Patch by John Hergenroeder.
2015-05-12 17:13:56 +03:00
Berker Peksag
d10d6ae2fa
Issue #23796 : peak and read1 methods of BufferedReader now raise ValueError
...
if they called on a closed object.
Patch by John Hergenroeder.
2015-05-12 17:01:05 +03:00
Serhiy Storchaka
bedbf96e84
Issue #23870 : The pprint module now supports all standard collections
...
except named tuples.
2015-05-12 13:35:48 +03:00
Yury Selivanov
7544508f02
PEP 0492 -- Coroutines with async and await syntax. Issue #24017 .
2015-05-11 22:57:16 -04:00
Yury Selivanov
dc6a9c0423
asyncio: Merge 3.4 -- Support PEP 492. Issue #24017 .
2015-05-11 22:31:19 -04:00
Yury Selivanov
1af2bf75a2
asyncio: Support PEP 492. Issue #24017 .
2015-05-11 22:27:25 -04:00
Yury Selivanov
9657caf168
Merge 3.4 (asyncio changes)
2015-05-11 14:50:41 -04:00
Yury Selivanov
59eb9a4da5
asyncio: async() function is deprecated in favour of ensure_future().
2015-05-11 14:48:38 -04:00
Yury Selivanov
7a093d9c71
Merge 3.4 (asyncio)
2015-05-11 14:40:56 -04:00
Yury Selivanov
740169cd24
Sync asyncio changes from the main repo.
2015-05-11 14:23:38 -04:00
Yury Selivanov
90ecfe65e6
asyncio: Sync with github repo
2015-05-11 13:48:16 -04:00
R David Murray
a33df31629
#21795 : advertise 8BITMIME if decode_data is False.
...
Patch by Milan Oberkirch, with a few updates. This changeset also
tweaks the smtpd and whatsnew docs for smtpd into what should be
the final form for the 3.5 release.
2015-05-11 12:11:40 -04:00
R David Murray
a6429db4b8
#21800 : Add RFC 6855 support to imaplib.
...
Original patch by Milan Oberkirch, updated by myself and
Maciej Szulik.
2015-05-10 19:17:23 -04:00
Yury Selivanov
e9ad5a57d7
Issue 22906: Add test file.
2015-05-09 13:53:57 -04:00
Yury Selivanov
8170e8c0d1
PEP 479: Change StopIteration handling inside generators.
...
Closes issue #22906 .
2015-05-09 11:44:30 -04:00
Raymond Hettinger
bd60e8dece
Issue #24018 : Add a collections.Generator abstract base class.
2015-05-09 01:07:23 -04:00
Benjamin Peterson
dae2ef1cfa
merge 3.4
2015-05-09 00:29:08 -04:00