Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | inspect.signature: Support duck-types of Python functions (Cython, for ↵ | Yury Selivanov | 2014-01-31 | 2 | -2/+90 | |
| | | | | | | | | instance) #17159 | |||||
* | | inspect.classify_class_attrs: Classify object.__new__ and __init__ correctly ↵ | Yury Selivanov | 2014-01-31 | 2 | -1/+5 | |
| | | | | | | | | #18801 | |||||
* | | Issue #20452: test_asyncio: Add more info if the test fails | Victor Stinner | 2014-01-31 | 1 | -2/+7 | |
| | | ||||||
* | | Issue #20455: Add a resolution attribute to IocpProactor (1 ms) | Victor Stinner | 2014-01-31 | 3 | -0/+4 | |
| | | ||||||
* | | Issue #20455: asyncio: use the same code to round a timeout than the selectors | Victor Stinner | 2014-01-31 | 1 | -4/+9 | |
| | | | | | | | | | | | | module Sort also imports | |||||
* | | Issue #20455: math.ceil() returns an int in Python 3, no need to cast the | Victor Stinner | 2014-01-31 | 1 | -1/+1 | |
| | | | | | | | | result again to int | |||||
* | | Issue #20455: asyncio: write a new write pipe transport class for proactor (on | Victor Stinner | 2014-01-31 | 1 | -12/+26 | |
| | | | | | | | | | | | | | | Windows) instead of using the "duplex" pipe transport. The new class uses a simpler overlapped read to be notified when the pipe is closed. So the protocol doesn't need to implement eof_received(): connection_lost() is called instead. _UnixWritePipeTransport has the same approach. | |||||
* | | asyncio: Fix _UnixWritePipeTransport, raise BrokenPipeError when the pipe is | Victor Stinner | 2014-01-31 | 1 | -1/+4 | |
| | | | | | | | | closed, but only if there was pending write | |||||
* | | Issue #20452: Remove debug code, no more needed | Victor Stinner | 2014-01-31 | 2 | -22/+2 | |
| | | ||||||
* | | asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written | Victor Stinner | 2014-01-31 | 1 | -1/+1 | |
| | | | | | | | | by Vajrasky Kok. | |||||
* | | Issue #20452: select and selectors round (again) timeout away from zero for | Victor Stinner | 2014-01-31 | 3 | -25/+23 | |
| | | | | | | | | | | | | poll and epoll Improve also debug info to analyze the issue | |||||
* | | Issue #20452: Oops, fix debug code :-/ | Victor Stinner | 2014-01-31 | 2 | -5/+16 | |
| | | | | | | | | Add also event more debug info | |||||
* | | Issue #20452: add more info in case of test_asyncio failure to try to debug the | Victor Stinner | 2014-01-31 | 2 | -2/+19 | |
| | | | | | | | | failure on buildbot "x86 Ubuntu Shared 3.x" | |||||
* | | asyncio: Fix misc whitespace issues. | Guido van Rossum | 2014-01-31 | 3 | -13/+15 | |
| | | ||||||
* | | asyncio: Fix granularity of test_utils.TestLoop. | Victor Stinner | 2014-01-31 | 1 | -0/+1 | |
| | | ||||||
* | | asyncio: Future.set_exception(exc) should instantiate exc if it is a class. | Victor Stinner | 2014-01-31 | 2 | -0/+7 | |
| | | ||||||
* | | Issue #20373: generalize use of test.script_helper in test_warnings. Patch ↵ | Antoine Pitrou | 2014-01-29 | 1 | -43/+22 | |
|\ \ | |/ | | | | | by Arfrever. | |||||
| * | Issue #20373: generalize use of test.script_helper in test_warnings. Patch ↵ | Antoine Pitrou | 2014-01-29 | 1 | -43/+22 | |
| | | | | | | | | by Arfrever. | |||||
* | | asyncio: subprocess_shell() and subprocess_exec() now raise ValueError ↵ | Victor Stinner | 2014-01-29 | 2 | -5/+46 | |
| | | | | | | | | | | | | instead of assert. Moreover, bufsize different than 0 is now considered as an error. | |||||
* | | asyncio: Fix _make_subprocess_transport(): pass extra value to the constructor. | Victor Stinner | 2014-01-29 | 2 | -2/+2 | |
| | | ||||||
* | | asyncio: wait_for() now accepts None as timeout (Victor Stinner). | Guido van Rossum | 2014-01-29 | 2 | -0/+14 | |
| | | ||||||
* | | asyncio: Pass through pause/resume from subprocess pipe proto to subprocess ↵ | Guido van Rossum | 2014-01-29 | 1 | -2/+5 | |
| | | | | | | | | proto. Also kill dummy eof_received(). | |||||
* | | asyncio: Refactor drain logic in streams.py to be reusable. | Guido van Rossum | 2014-01-29 | 1 | -36/+61 | |
| | | ||||||
* | | asyncio: Get rid of _try_connected(). | Victor Stinner | 2014-01-29 | 1 | -18/+14 | |
| | | ||||||
* | | asyncio: Add write flow control to unix pipes. | Guido van Rossum | 2014-01-29 | 1 | -3/+11 | |
| | | ||||||
* | | asyncio: Refactoring: move write flow control to a subclass/mixin. | Guido van Rossum | 2014-01-29 | 1 | -37/+61 | |
| | | ||||||
* | | asyncio: _fatal_error() of _UnixWritePipeTransport and ↵ | Victor Stinner | 2014-01-29 | 2 | -2/+4 | |
| | | | | | | | | | | | | _ProactorBasePipeTransport shouldn't log BrokenPipeError nor ConnectionResetError. (Same behaviour as _SelectorTransport._fatal_error().) | |||||
* | | inspect.Signature.from_function: Use CO_VARARGS & CO_VARKEYWORDS constants | Yury Selivanov | 2014-01-29 | 1 | -3/+3 | |
| | | ||||||
* | | inspect.signature: Make sure that if a callable object has '_patialmethod' | Yury Selivanov | 2014-01-29 | 2 | -11/+17 | |
| | | | | | | | | attribute, that attribute is an instance of 'functools.partialmethod'. | |||||
* | | inspect.Signature.bind: Update method signature to rule out possiblity | Yury Selivanov | 2014-01-29 | 1 | -4/+4 | |
| | | | | | | | | | | of name conflict between '__bind_self' and actual keyword argument to 'bind' or 'bind_partial'. | |||||
* | | inspect: Rename private helper function | Yury Selivanov | 2014-01-29 | 1 | -5/+5 | |
| | | ||||||
* | | inspect.test.getfullargspec: Add a unittest to ensure correct annotations | Yury Selivanov | 2014-01-29 | 1 | -0/+9 | |
| | | | | | | | | handling #17481 | |||||
* | | inspect.getfullargspec: Use inspect.signature API behind the scenes #17481 | Yury Selivanov | 2014-01-29 | 2 | -7/+146 | |
| | | ||||||
* | | inspect.Signature: ensure that non-default params don't follow default ones ↵ | Yury Selivanov | 2014-01-29 | 2 | -2/+32 | |
| | | | | | | | | #20427 | |||||
* | | inspect.signature: Add support for decorated (wrapped) builtins #20425 | Yury Selivanov | 2014-01-29 | 2 | -3/+18 | |
| | | ||||||
* | | inspect.Signature: Make from_builtin to raise an exception if no signature can | Yury Selivanov | 2014-01-29 | 2 | -10/+24 | |
| | | | | | | | | be provided #20422 | |||||
* | | Issue #20424: Python implementation of io.StringIO now supports lone surrogates. | Serhiy Storchaka | 2014-01-29 | 2 | -1/+10 | |
|\ \ | |/ | ||||||
| * | Issue #20424: Python implementation of io.StringIO now supports lone surrogates. | Serhiy Storchaka | 2014-01-29 | 2 | -1/+10 | |
| | | ||||||
* | | Merge with 3.3 | Terry Jan Reedy | 2014-01-29 | 2 | -7/+4 | |
|\ \ | |/ | ||||||
| * | Idlelib: forward port changes that silenced 2.7 -3 deprecation warnings and | Terry Jan Reedy | 2014-01-29 | 2 | -7/+4 | |
| | | | | | | | | which are at least as efficient. On Py3, unpacking exceptions never works. | |||||
* | | inspect.Signature.bind: Add **kwargs/positional-only check back | Yury Selivanov | 2014-01-29 | 1 | -0/+8 | |
| | | ||||||
* | | inspect.Signature.bind: Fix pos-only params with defaults; fix *args in ↵ | Yury Selivanov | 2014-01-28 | 2 | -8/+33 | |
| | | | | | | | | | | | | named args #19140 Initial patch by Yann Kaiser (epsy). | |||||
* | | inspect: Fix docstrings for Parameter & Signature classes | Yury Selivanov | 2014-01-28 | 1 | -3/+5 | |
| | | ||||||
* | | inspect.signature: Handle bound methods with '(*args)' signature correctly ↵ | Yury Selivanov | 2014-01-28 | 2 | -9/+53 | |
| | | | | | | | | #20401 | |||||
* | | inspect.tests: Remove redundant unittest | Yury Selivanov | 2014-01-28 | 1 | -5/+0 | |
| | | | | | | | | The removed unittest duplicates the other one (test_signature_on_builtins_no_signature) | |||||
* | | Issue #20411: Use readline.get_current_history_length to check for the ↵ | Jason R. Coombs | 2014-01-28 | 1 | -1/+1 | |
| | | | | | | | | presence of a history, rather than get_history_item, which assumes a history is present. | |||||
* | | Issue #9709: Revert 97fb852c5c26. Many extensions are not using PyMODINIT_FUNC. | Stefan Krah | 2014-01-28 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 5 | -19/+16 | |
| | | | | | | | | | | | | | | | | | | | | 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). | |||||
* | | inspect.signature: Support classes without user-defined __init__/__new__ #20308 | Yury Selivanov | 2014-01-28 | 2 | -0/+25 | |
| | | ||||||
* | | asyncio: remove temporary aliases | Victor Stinner | 2014-01-27 | 1 | -6/+0 | |
| | |