Commit Graph

89408 Commits

Author SHA1 Message Date
Yury Selivanov b907a513c8 Issue 24190: Add inspect.BoundArguments.apply_defaults() method. 2015-05-16 13:45:09 -04:00
Berker Peksag 1392f71c39 Issue #24210: Silence a PendingDeprecationWarning warning in platform.platform(). 2015-05-16 20:24:28 +03: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
Serhiy Storchaka 8de32d906f Fixed release date. 2015-05-16 16:32:21 +03:00
Serhiy Storchaka 8600c801c4 Null merge 2015-05-16 16:31:35 +03:00
Serhiy Storchaka df573d6ad8 Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
assertWarnsRegex() checks now emits a deprecation warning when callable is
None or keyword arguments except msg is passed in the context manager mode.
2015-05-16 16:29:50 +03:00
Serhiy Storchaka a7d00c207f Reverted issue #24134 changes (except new tests). 2015-05-16 16:25:43 +03:00
Serhiy Storchaka 6b680cd6b2 Fixed compilation error in signalmodule.c (issue #20182). 2015-05-16 15:57:56 +03:00
Tal Einat c7027b7904 Issue #20182: converted the signal module to use Argument Clinic 2015-05-16 14:14:49 +03:00
Tal Einat 97fceee3b9 Argument Clinic: added missing bit of info in howto 2015-05-16 14:12:15 +03:00
Raymond Hettinger c784c6db60 Tighten-up code by eliminating an unnecessary variable. 2015-05-15 21:01:13 -07:00
Terry Jan Reedy 75fb816c78 Issue #23184: idle tests, remove unused names and imports. 2015-05-15 23:55:21 -04:00
Eric Snow 183a941bc1 Issue #24192: Fix namespace package imports. 2015-05-15 21:54:59 -06:00
Terry Jan Reedy 188c18d48f Merge 3.4 #23184: idle tests, remove unused names and imports. 2015-05-15 23:55:49 -04:00
Terry Jan Reedy 7fae66ccd7 Merge with 3.4 Issue #23184: idlelib, remove more unused names and imports. 2015-05-15 23:03:53 -04:00
Terry Jan Reedy 038c16b9a0 Issue #23184: idlelib, remove more unused names and imports. 2015-05-15 23:03:17 -04:00
Raymond Hettinger d69755d1a3 Minor code clean-up. 2015-05-15 17:53:52 -07:00
Raymond Hettinger 29655df11d Issue #24064: Docuement that oroperty docstrings are now writeable. 2015-05-15 16:17:05 -07:00
Steve Dower 42b50d187f Fixes default per-user install precompiling the standard library. 2015-05-15 12:10:53 -07: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
Victor Stinner 51b58325f9 Closes #24013: Improve os.scandir() and DirEntry documentation
Patch written by Ben Hoyt.
2015-05-15 09:12:58 +02:00
Victor Stinner 56f6526085 os module doc: remove availability when useless
Remove "Availability: Unix, Windows." from os module documentation for
functions available on all platforms.
2015-05-15 09:11:59 +02:00
Yury Selivanov 3f6538fed0 Issue 22547: Implement informative __repr__ for inspect.BoundArguments 2015-05-14 18:47:17 -04:00
Yury Selivanov 6b4046f062 Merge 2015-05-14 18:33:14 -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 692b340092 inspect: Micro-optimize __eq__ for Signature, Parameter and BoundArguments
Provide __ne__ method for consistency.
2015-05-14 18:20:01 -04:00
Terry Jan Reedy 8aad7f27a4 Merge with 3.4 2015-05-14 18:11:14 -04:00
Terry Jan Reedy 2733618fd9 idlelib: remove unused names and imports (one is a duplicate import). 2015-05-14 18:10:50 -04:00
Yury Selivanov dee32bd256 Issue 24191: Document BoundArguments.signature 2015-05-14 14:14:18 -04:00
Yury Selivanov 82796193f9 Issue 24191: Document BoundArguments.signature 2015-05-14 14:14:02 -04:00
Yury Selivanov e0104ae103 Issue 24184: Add AsyncIterator and AsyncIterable to collections.abc. 2015-05-14 12:19:16 -04:00
R David Murray 7d0d6ee525 Merge: Make sentence correct English. 2015-05-14 08:51:09 -04:00
R David Murray 2249d9f7d6 Make sentence correct English. 2015-05-14 08:50:38 -04:00
Steve Dower c8241cfb8c Issue #24186: Disable optimised OpenSSL functions on 64-bit Windows to avoid crashing. 2015-05-13 21:44:02 -07: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
Steve Dower 71f574f707 Issue #23995: Removes _WCONIO_DEFINED check as the wchar_t console functions are always available. 2015-05-13 19:35:49 -07:00
R David Murray 812bc1b86b Merge: #23088: Clarify null termination of bytes and strings in C API. 2015-05-13 20:32:19 -04:00
R David Murray 0a560a11af #23088: Clarify null termination of bytes and strings in C API.
Patch by Martin Panter, reviewed by Serhiy Storchaka and R. David Murray.
2015-05-13 20:31:53 -04:00
Raymond Hettinger b01a1fdb94 merge 2015-05-13 14:39:35 -07:00
Raymond Hettinger 3afdb2870f Fix mangled wording 2015-05-13 14:39:04 -07:00
Yury Selivanov 6abe03288b inspect: Add __slots__ to BoundArguments. 2015-05-13 17:18:41 -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 af928b65fc asyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine. 2015-05-13 15:22:03 -04:00
Yury Selivanov c58cca5951 asyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine (in 3.5) 2015-05-13 15:21:41 -04:00
Yury Selivanov 53ffdbd6f0 Merge 3.4. 2015-05-13 15:16:18 -04:00