summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | inspect.signature: Support duck-types of Python functions (Cython, for ↵Yury Selivanov2014-01-312-2/+90
| | | | | | | | instance) #17159
* | inspect.classify_class_attrs: Classify object.__new__ and __init__ correctly ↵Yury Selivanov2014-01-312-1/+5
| | | | | | | | #18801
* | Issue #20452: test_asyncio: Add more info if the test failsVictor Stinner2014-01-311-2/+7
| |
* | Issue #20455: Add a resolution attribute to IocpProactor (1 ms)Victor Stinner2014-01-313-0/+4
| |
* | Issue #20455: asyncio: use the same code to round a timeout than the selectorsVictor Stinner2014-01-311-4/+9
| | | | | | | | | | | | module Sort also imports
* | Issue #20455: math.ceil() returns an int in Python 3, no need to cast theVictor Stinner2014-01-311-1/+1
| | | | | | | | result again to int
* | Issue #20455: asyncio: write a new write pipe transport class for proactor (onVictor Stinner2014-01-311-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 isVictor Stinner2014-01-311-1/+4
| | | | | | | | closed, but only if there was pending write
* | Issue #20452: Remove debug code, no more neededVictor Stinner2014-01-312-22/+2
| |
* | asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch writtenVictor Stinner2014-01-311-1/+1
| | | | | | | | by Vajrasky Kok.
* | Issue #20452: select and selectors round (again) timeout away from zero forVictor Stinner2014-01-313-25/+23
| | | | | | | | | | | | poll and epoll Improve also debug info to analyze the issue
* | Issue #20452: Oops, fix debug code :-/Victor Stinner2014-01-312-5/+16
| | | | | | | | Add also event more debug info
* | Issue #20452: add more info in case of test_asyncio failure to try to debug theVictor Stinner2014-01-312-2/+19
| | | | | | | | failure on buildbot "x86 Ubuntu Shared 3.x"
* | asyncio: Fix misc whitespace issues.Guido van Rossum2014-01-313-13/+15
| |
* | asyncio: Fix granularity of test_utils.TestLoop.Victor Stinner2014-01-311-0/+1
| |
* | asyncio: Future.set_exception(exc) should instantiate exc if it is a class.Victor Stinner2014-01-312-0/+7
| |
* | Issue #20373: generalize use of test.script_helper in test_warnings. Patch ↵Antoine Pitrou2014-01-291-43/+22
|\ \ | |/ | | | | by Arfrever.
| * Issue #20373: generalize use of test.script_helper in test_warnings. Patch ↵Antoine Pitrou2014-01-291-43/+22
| | | | | | | | by Arfrever.
* | asyncio: subprocess_shell() and subprocess_exec() now raise ValueError ↵Victor Stinner2014-01-292-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 Stinner2014-01-292-2/+2
| |
* | asyncio: wait_for() now accepts None as timeout (Victor Stinner).Guido van Rossum2014-01-292-0/+14
| |
* | asyncio: Pass through pause/resume from subprocess pipe proto to subprocess ↵Guido van Rossum2014-01-291-2/+5
| | | | | | | | proto. Also kill dummy eof_received().
* | asyncio: Refactor drain logic in streams.py to be reusable.Guido van Rossum2014-01-291-36/+61
| |
* | asyncio: Get rid of _try_connected().Victor Stinner2014-01-291-18/+14
| |
* | asyncio: Add write flow control to unix pipes.Guido van Rossum2014-01-291-3/+11
| |
* | asyncio: Refactoring: move write flow control to a subclass/mixin.Guido van Rossum2014-01-291-37/+61
| |
* | asyncio: _fatal_error() of _UnixWritePipeTransport and ↵Victor Stinner2014-01-292-2/+4
| | | | | | | | | | | | _ProactorBasePipeTransport shouldn't log BrokenPipeError nor ConnectionResetError. (Same behaviour as _SelectorTransport._fatal_error().)
* | inspect.Signature.from_function: Use CO_VARARGS & CO_VARKEYWORDS constantsYury Selivanov2014-01-291-3/+3
| |
* | inspect.signature: Make sure that if a callable object has '_patialmethod'Yury Selivanov2014-01-292-11/+17
| | | | | | | | attribute, that attribute is an instance of 'functools.partialmethod'.
* | inspect.Signature.bind: Update method signature to rule out possiblityYury Selivanov2014-01-291-4/+4
| | | | | | | | | | of name conflict between '__bind_self' and actual keyword argument to 'bind' or 'bind_partial'.
* | inspect: Rename private helper functionYury Selivanov2014-01-291-5/+5
| |
* | inspect.test.getfullargspec: Add a unittest to ensure correct annotationsYury Selivanov2014-01-291-0/+9
| | | | | | | | handling #17481
* | inspect.getfullargspec: Use inspect.signature API behind the scenes #17481Yury Selivanov2014-01-292-7/+146
| |
* | inspect.Signature: ensure that non-default params don't follow default ones ↵Yury Selivanov2014-01-292-2/+32
| | | | | | | | #20427
* | inspect.signature: Add support for decorated (wrapped) builtins #20425Yury Selivanov2014-01-292-3/+18
| |
* | inspect.Signature: Make from_builtin to raise an exception if no signature canYury Selivanov2014-01-292-10/+24
| | | | | | | | be provided #20422
* | Issue #20424: Python implementation of io.StringIO now supports lone surrogates.Serhiy Storchaka2014-01-292-1/+10
|\ \ | |/
| * Issue #20424: Python implementation of io.StringIO now supports lone surrogates.Serhiy Storchaka2014-01-292-1/+10
| |
* | Merge with 3.3Terry Jan Reedy2014-01-292-7/+4
|\ \ | |/
| * Idlelib: forward port changes that silenced 2.7 -3 deprecation warnings andTerry Jan Reedy2014-01-292-7/+4
| | | | | | | | which are at least as efficient. On Py3, unpacking exceptions never works.
* | inspect.Signature.bind: Add **kwargs/positional-only check backYury Selivanov2014-01-291-0/+8
| |
* | inspect.Signature.bind: Fix pos-only params with defaults; fix *args in ↵Yury Selivanov2014-01-282-8/+33
| | | | | | | | | | | | named args #19140 Initial patch by Yann Kaiser (epsy).
* | inspect: Fix docstrings for Parameter & Signature classesYury Selivanov2014-01-281-3/+5
| |
* | inspect.signature: Handle bound methods with '(*args)' signature correctly ↵Yury Selivanov2014-01-282-9/+53
| | | | | | | | #20401
* | inspect.tests: Remove redundant unittestYury Selivanov2014-01-281-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. Coombs2014-01-281-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 Krah2014-01-281-1/+1
| |
* | Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-285-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__ #20308Yury Selivanov2014-01-282-0/+25
| |
* | asyncio: remove temporary aliasesVictor Stinner2014-01-271-6/+0
| |