]>
granicus.if.org Git - python/log
Guido van Rossum [Wed, 29 Jan 2014 22:40:56 +0000 (14:40 -0800)]
More asyncio news.
Victor Stinner [Wed, 29 Jan 2014 22:35:15 +0000 (14:35 -0800)]
asyncio: subprocess_shell() and subprocess_exec() now raise ValueError instead of assert.
Moreover, bufsize different than 0 is now considered as an error.
Victor Stinner [Wed, 29 Jan 2014 22:32:20 +0000 (14:32 -0800)]
asyncio: Fix _make_subprocess_transport(): pass extra value to the constructor.
Guido van Rossum [Wed, 29 Jan 2014 22:30:38 +0000 (14:30 -0800)]
asyncio: wait_for() now accepts None as timeout (Victor Stinner).
Guido van Rossum [Wed, 29 Jan 2014 22:28:15 +0000 (14:28 -0800)]
asyncio: Pass through pause/resume from subprocess pipe proto to subprocess proto. Also kill dummy eof_received().
Guido van Rossum [Wed, 29 Jan 2014 22:24:45 +0000 (14:24 -0800)]
asyncio: Refactor drain logic in streams.py to be reusable.
Victor Stinner [Wed, 29 Jan 2014 22:22:56 +0000 (14:22 -0800)]
asyncio: Get rid of _try_connected().
Guido van Rossum [Wed, 29 Jan 2014 21:20:39 +0000 (13:20 -0800)]
asyncio: Add write flow control to unix pipes.
Guido van Rossum [Wed, 29 Jan 2014 21:15:59 +0000 (13:15 -0800)]
asyncio: Refactoring: move write flow control to a subclass/mixin.
Victor Stinner [Wed, 29 Jan 2014 21:12:03 +0000 (13:12 -0800)]
asyncio: _fatal_error() of _UnixWritePipeTransport and _ProactorBasePipeTransport shouldn't log BrokenPipeError nor ConnectionResetError.
(Same behaviour as _SelectorTransport._fatal_error().)
Yury Selivanov [Wed, 29 Jan 2014 21:50:40 +0000 (16:50 -0500)]
inspect.Signature.from_function: Use CO_VARARGS & CO_VARKEYWORDS constants
Yury Selivanov [Wed, 29 Jan 2014 17:18:59 +0000 (12:18 -0500)]
inspect.signature: Make sure that if a callable object has '_patialmethod'
attribute, that attribute is an instance of 'functools.partialmethod'.
Yury Selivanov [Wed, 29 Jan 2014 17:10:27 +0000 (12:10 -0500)]
inspect.Signature.bind: Update method signature to rule out possiblity
of name conflict between '__bind_self' and actual keyword argument to
'bind' or 'bind_partial'.
Yury Selivanov [Wed, 29 Jan 2014 17:05:40 +0000 (12:05 -0500)]
inspect: Rename private helper function
Yury Selivanov [Wed, 29 Jan 2014 16:54:12 +0000 (11:54 -0500)]
inspect.test.getfullargspec: Add a unittest to ensure correct annotations
handling #17481
Yury Selivanov [Wed, 29 Jan 2014 16:24:39 +0000 (11:24 -0500)]
inspect.getfullargspec: Use inspect.signature API behind the scenes #17481
Yury Selivanov [Wed, 29 Jan 2014 15:58:16 +0000 (10:58 -0500)]
inspect.Signature: ensure that non-default params don't follow default ones #20427
Yury Selivanov [Wed, 29 Jan 2014 15:52:57 +0000 (10:52 -0500)]
inspect.signature: Add support for decorated (wrapped) builtins #20425
Yury Selivanov [Wed, 29 Jan 2014 15:46:14 +0000 (10:46 -0500)]
inspect.Signature: Make from_builtin to raise an exception if no signature can
be provided #20422
Serhiy Storchaka [Wed, 29 Jan 2014 09:45:31 +0000 (11:45 +0200)]
Issue #20424: Python implementation of io.StringIO now supports lone surrogates.
Serhiy Storchaka [Wed, 29 Jan 2014 09:44:25 +0000 (11:44 +0200)]
Move Misc/NEWS entries committed after releasing 3.4.0b3 to correct places.
Serhiy Storchaka [Wed, 29 Jan 2014 09:33:26 +0000 (11:33 +0200)]
Issue #20424: Python implementation of io.StringIO now supports lone surrogates.
Terry Jan Reedy [Wed, 29 Jan 2014 04:14:12 +0000 (23:14 -0500)]
Merge with 3.3
Terry Jan Reedy [Wed, 29 Jan 2014 04:13:45 +0000 (23:13 -0500)]
Idlelib: forward port changes that silenced 2.7 -3 deprecation warnings and
which are at least as efficient. On Py3, unpacking exceptions never works.
Yury Selivanov [Wed, 29 Jan 2014 01:54:28 +0000 (20:54 -0500)]
inspect.Signature.bind: Add **kwargs/positional-only check back
Victor Stinner [Tue, 28 Jan 2014 22:32:40 +0000 (23:32 +0100)]
asyncio doc: close the loop at exit
Yury Selivanov [Tue, 28 Jan 2014 22:27:39 +0000 (17:27 -0500)]
inspect.Signature.bind: Fix pos-only params with defaults; fix *args in named args #19140
Initial patch by Yann Kaiser (epsy).
Yury Selivanov [Tue, 28 Jan 2014 21:39:25 +0000 (16:39 -0500)]
inspect: Fix docstrings for Parameter & Signature classes
Yury Selivanov [Tue, 28 Jan 2014 17:26:24 +0000 (12:26 -0500)]
inspect.signature: Handle bound methods with '(*args)' signature correctly #20401
Yury Selivanov [Tue, 28 Jan 2014 17:19:52 +0000 (12:19 -0500)]
inspect.tests: Remove redundant unittest
The removed unittest duplicates the other one (test_signature_on_builtins_no_signature)
Jason R. Coombs [Tue, 28 Jan 2014 14:06:58 +0000 (09:06 -0500)]
Issue #20411: Use readline.get_current_history_length to check for the presence of a history, rather than get_history_item, which assumes a history is present.
Stefan Krah [Tue, 28 Jan 2014 14:04:40 +0000 (15:04 +0100)]
Issue #9709: Revert
97fb852c5c26 . Many extensions are not using PyMODINIT_FUNC.
Larry Hastings [Tue, 28 Jan 2014 13:00:08 +0000 (05:00 -0800)]
Issue #20326: Argument Clinic now uses a simple, unique signature to
annotate text signatures in docstrings, resulting in fewer false
positives. "self" parameters are also explicitly marked, allowing
inspect.Signature() to authoritatively detect (and skip) said parameters.
Issue #20326: Argument Clinic now generates separate checksums for the
input and output sections of the block, allowing external tools to verify
that the input has not changed (and thus the output is not out-of-date).
Ned Deily [Tue, 28 Jan 2014 02:03:07 +0000 (19:03 -0700)]
Fix doc reference to OS X 10.9 Mavericks.
Victor Stinner [Tue, 28 Jan 2014 01:24:22 +0000 (02:24 +0100)]
asyncio doc: list Windows and Mac OS X limitations and explain how to work
around them
Yury Selivanov [Tue, 28 Jan 2014 00:40:07 +0000 (19:40 -0500)]
NEWS: Add few missing news items
Yury Selivanov [Tue, 28 Jan 2014 00:29:45 +0000 (19:29 -0500)]
inspect.signature: Support classes without user-defined __init__/__new__ #20308
Victor Stinner [Mon, 27 Jan 2014 23:09:24 +0000 (00:09 +0100)]
asyncio: remove temporary aliases
Yury Selivanov [Mon, 27 Jan 2014 22:28:37 +0000 (17:28 -0500)]
inspect.signature: Add support for 'functools.partialmethod' #20223
Victor Stinner [Mon, 27 Jan 2014 22:01:41 +0000 (23:01 +0100)]
asyncio doc: subprocess_exec/subprocess_shell are not available on Windows
Serhiy Storchaka [Mon, 27 Jan 2014 21:16:28 +0000 (23:16 +0200)]
Issue #19456: ntpath.join() now joins relative paths correctly when a drive
is present.
Serhiy Storchaka [Mon, 27 Jan 2014 21:15:14 +0000 (23:15 +0200)]
Issue #19456: ntpath.join() now joins relative paths correctly when a drive
is present.
Yury Selivanov [Mon, 27 Jan 2014 20:07:58 +0000 (15:07 -0500)]
inspect.signature: Use '/' to separate positional-only parameters from
the rest in Signature.__str__. #20356
Yury Selivanov [Mon, 27 Jan 2014 19:26:28 +0000 (14:26 -0500)]
doc/inspect: Clarify docs for __defaults__, add docs for __kwdefaults__ #20380
Yury Selivanov [Mon, 27 Jan 2014 18:24:56 +0000 (13:24 -0500)]
inspect.getfile: Don't crash on classes without '__module__' attribute #20372
Some classes defined in C may not have the '__module__' attribute, so
we now handle this case to avoid having unexepected AttributeError.
Victor Stinner [Mon, 27 Jan 2014 11:18:49 +0000 (12:18 +0100)]
asyncio: IncompleteReadError is a subclass of EOFError
Victor Stinner [Mon, 27 Jan 2014 10:58:49 +0000 (11:58 +0100)]
asyncio: document the IncompleteReadError exception
Serhiy Storchaka [Mon, 27 Jan 2014 09:27:51 +0000 (11:27 +0200)]
Remove redundant emty line at the end of file.
Serhiy Storchaka [Mon, 27 Jan 2014 09:21:54 +0000 (11:21 +0200)]
Issue #19077: tempfile.TemporaryDirectory cleanup no longer fails when
called during shutdown. Emitting resource warning in __del__ no longer fails.
Original patch by Antoine Pitrou.
Serhiy Storchaka [Mon, 27 Jan 2014 09:18:27 +0000 (11:18 +0200)]
Issue #19077: tempfile.TemporaryDirectory cleanup is now most likely
successful when called during nulling out of modules during shutdown.
Misleading exception no longer raised when resource warning is emitted
during shutdown.
Serhiy Storchaka [Mon, 27 Jan 2014 09:17:48 +0000 (11:17 +0200)]
Merge heads
Victor Stinner [Mon, 27 Jan 2014 09:07:50 +0000 (10:07 +0100)]
asyncio: document add_signal_handler/remove_signal_handler, add an example for
signals
Serhiy Storchaka [Mon, 27 Jan 2014 08:34:22 +0000 (10:34 +0200)]
Issue #20395: Extract generated clinic code in Modules/_pickle.c to separate file.
Victor Stinner [Mon, 27 Jan 2014 08:13:38 +0000 (09:13 +0100)]
Null merge 3.3 (patch already applied in Python 3.4)
Victor Stinner [Mon, 27 Jan 2014 08:11:48 +0000 (09:11 +0100)]
Issue #20367: Fix behavior of concurrent.futures.as_completed() for duplicate
arguments. Patch by Glenn Langford.
Christian Heimes [Mon, 27 Jan 2014 08:07:45 +0000 (09:07 +0100)]
I forgot to add a Misc/NEWS entry for issue #20394
Georg Brandl [Mon, 27 Jan 2014 07:22:49 +0000 (08:22 +0100)]
Closes #19966: allow hgtouch to operate on a base dir that is != the repo root.
Larry Hastings [Mon, 27 Jan 2014 06:28:06 +0000 (22:28 -0800)]
Merge.
Larry Hastings [Mon, 27 Jan 2014 06:27:20 +0000 (22:27 -0800)]
Post-release bump for 3.4.0 beta 3.
Benjamin Peterson [Mon, 27 Jan 2014 03:58:42 +0000 (22:58 -0500)]
merge 3.3 (closes #12704)
Benjamin Peterson [Mon, 27 Jan 2014 03:52:08 +0000 (22:52 -0500)]
eliminate redundancy between yield stmt and yield expr docs (closes #12704)
Patch by Nikolaus Rath.
Terry Jan Reedy [Mon, 27 Jan 2014 03:27:38 +0000 (22:27 -0500)]
Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
Terry Jan Reedy [Mon, 27 Jan 2014 03:24:26 +0000 (22:24 -0500)]
Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
Terry Jan Reedy [Mon, 27 Jan 2014 02:35:22 +0000 (21:35 -0500)]
Merge with 3.3
Terry Jan Reedy [Mon, 27 Jan 2014 02:34:33 +0000 (21:34 -0500)]
Idlelib.calltips: add test of starred first parameters. They should not be
removed even for bound methods. (Inspect.signature does, see 20401.)
Terry Jan Reedy [Mon, 27 Jan 2014 01:24:35 +0000 (20:24 -0500)]
White space and merge cleanup.
Terry Jan Reedy [Mon, 27 Jan 2014 01:17:48 +0000 (20:17 -0500)]
Merge with 3.3
Terry Jan Reedy [Mon, 27 Jan 2014 01:16:53 +0000 (20:16 -0500)]
Merge heads.
Terry Jan Reedy [Mon, 27 Jan 2014 01:12:18 +0000 (20:12 -0500)]
Merge heads.
Terry Jan Reedy [Mon, 27 Jan 2014 01:08:26 +0000 (20:08 -0500)]
Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Original patch by Serhiy Storchaka.
Terry Jan Reedy [Mon, 27 Jan 2014 00:55:34 +0000 (19:55 -0500)]
Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Original patch by Serhiy Storchaka.
Christian Heimes [Mon, 27 Jan 2014 00:12:00 +0000 (01:12 +0100)]
Issue #20394: Attempt to silence CID
1164423 : Division or modulo by zero in audioop_ratecv_impl()
Serhiy and I had the same idea so it's most likely right. ;)
Christian Heimes [Mon, 27 Jan 2014 00:06:57 +0000 (01:06 +0100)]
Issue #20193: Fix commit r6f217456b9ba by including clinic/zlibmodule.c.h instead
of zlibmodule.clinic.c
Christian Heimes [Mon, 27 Jan 2014 00:03:53 +0000 (01:03 +0100)]
silence compiler warning that 's' may be used uninitialized in the load function.
Eli Bendersky [Sun, 26 Jan 2014 22:59:30 +0000 (14:59 -0800)]
Update docstring to mention correct PEP number.
This file hasn't been touched since its initial commit in 2006. In CPython
default branch (3.4), the relevant PEP number is 3333.
Victor Stinner [Sun, 26 Jan 2014 22:33:49 +0000 (23:33 +0100)]
Issue #20367: Add Glenn Langford to Misc/ACKS
Serhiy Storchaka [Sun, 26 Jan 2014 22:03:31 +0000 (00:03 +0200)]
Issue #20193: The zlib module now uses Argument Clinic.
Serhiy Storchaka [Sun, 26 Jan 2014 21:52:57 +0000 (23:52 +0200)]
Issue #19990: Added tests for the imghdr module.
Based on patch by Claudiu Popa.
Serhiy Storchaka [Sun, 26 Jan 2014 21:48:38 +0000 (23:48 +0200)]
Issue #19990: Added tests for the imghdr module.
Based on patch by Claudiu Popa.
Guido van Rossum [Sun, 26 Jan 2014 17:57:51 +0000 (09:57 -0800)]
Fix issue #20367: concurrent.futures.as_completed() for duplicate arguments.
Patch by Glenn Langford.
Serhiy Storchaka [Sun, 26 Jan 2014 17:36:59 +0000 (19:36 +0200)]
Merge heads
Serhiy Storchaka [Sun, 26 Jan 2014 17:27:56 +0000 (19:27 +0200)]
Issue #8260: The read(), readline() and readlines() methods of
codecs.StreamReader returned incomplete data when were called after
readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
Serhiy Storchaka [Sun, 26 Jan 2014 17:21:00 +0000 (19:21 +0200)]
Issue #8260: The read(), readline() and readlines() methods of
codecs.StreamReader returned incomplete data when were called after
readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
Andrew Svetlov [Sun, 26 Jan 2014 16:36:01 +0000 (18:36 +0200)]
Merge latest Tulip into asyncio
Benjamin Peterson [Sun, 26 Jan 2014 15:41:58 +0000 (10:41 -0500)]
cleanup after custom buffer converter
Benjamin Peterson [Sun, 26 Jan 2014 15:24:24 +0000 (10:24 -0500)]
fix refleak on error
Nick Coghlan [Sun, 26 Jan 2014 14:53:38 +0000 (00:53 +1000)]
Close #20105: set __traceback__ when chaining exceptions in C
Larry Hastings [Sun, 26 Jan 2014 08:48:46 +0000 (00:48 -0800)]
Added tag v3.4.0b3 for changeset
a97ce3ecc96a
Larry Hastings [Sun, 26 Jan 2014 08:48:23 +0000 (00:48 -0800)]
Version bump for 3.4.0b3.
Larry Hastings [Sun, 26 Jan 2014 08:42:02 +0000 (00:42 -0800)]
Documentation fixes, including fixing "suspicious" problems.
Larry Hastings [Sun, 26 Jan 2014 06:19:47 +0000 (22:19 -0800)]
Issue #20358: Tests for curses.window.overlay and curses.window.overwrite
no longer specify min{row,col} > max{row,col}.
Larry Hastings [Sun, 26 Jan 2014 06:01:12 +0000 (22:01 -0800)]
Issue #20390: Final fix, for generating NoPositional/NoKeyword for __init__ calls.
Donald Stufft [Sun, 26 Jan 2014 05:22:39 +0000 (00:22 -0500)]
Update pip to 1.5.2 and setuptools to 2.1
Larry Hastings [Sun, 26 Jan 2014 05:30:37 +0000 (21:30 -0800)]
Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).
Larry Hastings [Sun, 26 Jan 2014 04:43:29 +0000 (20:43 -0800)]
Issue #20390: Small fixes and improvements for Argument Clinic.
Guido van Rossum [Sun, 26 Jan 2014 01:38:31 +0000 (17:38 -0800)]
Document asyncio.QueueFull/Empty.
Guido van Rossum [Sun, 26 Jan 2014 01:30:19 +0000 (17:30 -0800)]
NEWS update for asyncio.
Guido van Rossum [Sun, 26 Jan 2014 01:24:51 +0000 (17:24 -0800)]
asyncio: Rename {Empty,Full} to {QueueEmpty,QueueFull} and no longer get them from queue.py.
Guido van Rossum [Sun, 26 Jan 2014 00:51:57 +0000 (16:51 -0800)]
asyncio: Locks refactor: use a separate context manager; remove Semaphore._locked.
Guido van Rossum [Sun, 26 Jan 2014 00:32:17 +0000 (16:32 -0800)]
asyncio: Fix race in FastChildWatcher (by its original author, Anthony Baire).