R David Murray
fce0082005
whatsnew: importlib deprecations.
...
This addresses issue #20199 , if I got it right. The deprecation and
replacement lists are based on the importlib documentation.
2014-02-22 14:28:46 -05:00
Yury Selivanov
a773de040d
inspect.signature: Check for function-like objects before builtins. Issue #17159
2014-02-21 18:30:53 -05:00
Victor Stinner
8c8b4e0ebf
Issue #11188 , #19748 : mktime() returns -1 on error. On Linux, the tm_wday field
...
is used as a sentinel () to detect if -1 is really an error or a valid
timestamp. On AIX, tm_wday is unchanged even on success and so cannot be used
as a sentinel.
2014-02-21 23:54:32 +01:00
Richard Oudkerk
42a526c60f
Issue #20114 : Double timeout in test_semaphore_tracker() to reduce
...
chance of sporadic failures.
2014-02-21 22:29:58 +00:00
Donald Stufft
0f55d9a80e
Upgrade pip from 1.5.3 to 1.5.4
2014-02-21 07:42:39 -05:00
Victor Stinner
1ac42614e3
Issue #19748 : On AIX, time.mktime() now raises an OverflowError for year
...
outsize range [1902; 2037].
2014-02-21 09:27:17 +01:00
Larry Hastings
24a882bb7b
Issue #20710 : The pydoc summary line no longer displays the "self" parameter
...
for bound methods. Previous to this change, it displayed "self" for methods
implemented in Python but not methods implemented in C; it is now both
internally consistent and consistent with inspect.Signature.
2014-02-20 23:34:46 -08:00
Yury Selivanov
8c185ee12e
inspect: Fix getfullargspec to support builtin module-level functions. Issue #20711
2014-02-21 01:32:42 -05:00
Donald Stufft
b226026299
Upgrade pip from 1.5.2 to 1.5.3
2014-02-20 20:53:27 -05:00
Yury Selivanov
7a19355c77
asyncio.docs: Document subprocess_exec and subprocess_shell. Issue #20694 .
2014-02-20 20:10:28 -05:00
Victor Stinner
e8ebe152de
Windows buildbot: use --timeout feature in Tools/buildbot/test-amd64.bat
...
Use the same default timeout than test.bat: 1 hour (3600 seconds).
2014-02-20 23:26:12 +01:00
Zachary Ware
52855719f5
Issue #20221 : Removed conflicting (or circular) hypot definition
...
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
2014-02-20 15:39:29 -06:00
Zachary Ware
2d659518aa
Issue #20221 : Removed conflicting (or circular) hypot definition
...
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
2014-02-20 15:36:34 -06:00
Yury Selivanov
f9200ae398
asyncio.docs: Improve wordings; add a note to the Coroutines section. Issue #20706
2014-02-20 16:20:44 -05:00
Victor Stinner
a90e8edaea
asyncio: _check_resolved_address() must also accept IPv6 without flow_info and
...
scope_id: (host, port).
2014-02-20 21:59:38 +01:00
Yury Selivanov
35669ae77e
asyncio.docs: Improve documentation of Streams. Issue #20696 .
2014-02-20 14:10:02 -05:00
Yury Selivanov
cd153f8bdd
Misc/NEWS: Add some missing news items re asyncio.
2014-02-20 13:59:14 -05:00
Victor Stinner
0211ed3e89
asyncio: ops, and now fix also the unit test for IPv6 address:
...
test_sock_connect_address()
2014-02-20 17:01:11 +01:00
Victor Stinner
013dece44d
asyncio: Fix _check_resolved_address() for IPv6 address
2014-02-20 16:43:09 +01:00
Victor Stinner
da492a8c39
asyncio: remove unused imports and unused variables noticed by pyflakes
2014-02-20 10:37:27 +01:00
Victor Stinner
2c7203c6f5
asyncio: Fix _ProactorWritePipeTransport._pipe_closed()
...
The "exc" variable was not defined, pass a BrokenPipeError exception instead.
2014-02-20 10:33:01 +01:00
Victor Stinner
cdb476bd43
asyncio.subprocess: Fix a race condition in communicate()
...
Use self._loop instead of self._transport._loop, because transport._loop is set
to None at process exit.
2014-02-20 10:12:59 +01:00
Benjamin Peterson
88a928b614
merge 3.3 ( #20695 )
2014-02-19 23:06:41 -05:00
Benjamin Peterson
a96fd48298
merge 3.2 ( #20695 )
2014-02-19 23:06:24 -05:00
Benjamin Peterson
665a2bcdf8
bump Python-ast.c
2014-02-19 23:05:26 -05:00
Benjamin Peterson
1b94030b37
update logo url ( #20695 )
2014-02-19 22:55:16 -05:00
Benjamin Peterson
f6218a2191
open retrieved file in binary mode, since it's now compressed
2014-02-19 22:56:35 -05:00
Yury Selivanov
d5797422dd
asyncio.docs: Document Error Handling API and asyncio.Handle
2014-02-19 20:58:44 -05:00
Victor Stinner
aabc131224
asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
...
env var), document the default debug mode
2014-02-20 01:44:10 +01:00
Benjamin Peterson
45d8e7b920
update magic number for #20625
2014-02-19 18:05:36 -05:00
Victor Stinner
7ef60cd8c2
asyncio, Tulip issue #136 : Add get/set_debug() methods to BaseEventLoopTests.
...
Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since
Python startup, to be able to debug coroutines defined directly in the asyncio
module.
2014-02-19 23:15:02 +01:00
Yury Selivanov
f4558e8b54
merge heads
2014-02-19 16:28:36 -05:00
Yury Selivanov
57d240ef64
inspect: Fix getfullargspec() to not to follow __wrapped__ chains
...
Initial patch by Nick Coghlan.
2014-02-19 16:27:23 -05:00
Serhiy Storchaka
056eb02719
Issue #20654 : Fixed pydoc for enums with zero value. Patch by Vajrasky Kok.
2014-02-19 23:05:12 +02:00
Victor Stinner
4ac30f1792
Issue #20682 : Oops, fix test_create_connection() of test_asyncio (fix my previous commit)
2014-02-19 18:32:03 +01:00
Victor Stinner
8c33ffd9b6
Close #20682 : Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger
...
On Mac OS X Tiger (and older), getsockname() returns a zero-length address for
UNIX socket, and so 'sockname' extra info is None.
2014-02-19 18:10:32 +01:00
Serhiy Storchaka
a32d6b469b
Null merge
2014-02-19 19:04:28 +02:00
Serhiy Storchaka
d8ea31417a
Merge heads
2014-02-19 19:04:12 +02:00
Serhiy Storchaka
2bb6c358e8
Merge heads
2014-02-19 19:03:58 +02:00
Serhiy Storchaka
f6a38e11c0
Issue #20672 : Fixed tests for TarFile.list() on non-UTF-8 locales.
2014-02-19 18:50:35 +02:00
Zachary Ware
1d7ba5cd7b
Issue #20510 : Merge with 3.3
2014-02-19 10:46:05 -06:00
Zachary Ware
1f9e601765
Issue #20510 : Confirm that the code attribute of the SystemExit
...
exception raised by sys.exit is None when no code is given.
As suggested by Serhiy Storchaka.
2014-02-19 10:44:47 -06:00
Serhiy Storchaka
162c477f41
Issue #20672 : Fixed tests for TarFile.list() on non-UTF-8 locales.
2014-02-19 18:44:12 +02:00
Serhiy Storchaka
22234dab05
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
...
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:35:10 +02:00
Serhiy Storchaka
e95977621d
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
...
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:34:05 +02:00
Yury Selivanov
2d01c0a080
asyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol
2014-02-19 11:10:52 -05:00
Victor Stinner
03e9cb2b0b
asyncio: document new create_unix_connection() and create_unix_server() methods
...
of BaseEventLoop
2014-02-19 13:32:34 +01:00
Yury Selivanov
b41a42e316
asyncio: pep8-ify the code.
2014-02-18 22:56:15 -05:00
Yury Selivanov
b0b0e628ee
asyncio: Fix spelling and typos.
...
Thanks to Vajrasky Kok for discovering some of them.
2014-02-18 22:27:48 -05:00
Victor Stinner
8abac348a9
Issue #20682 : test_asyncio, _basetest_create_connection() checks also the
...
sockname, as _basetest_create_ssl_connection().
2014-02-19 02:21:08 +01:00