summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | inspect.signature: Use 'inspect.isbuiltin' in 'Signature.from_builtin'Yury Selivanov2014-02-021-1/+2
| |
* | whatsnew: filecmp.clear_cache, and reword description of cache in docs.R David Murray2014-02-021-2/+2
| |
* | Update the python.gif icon for the Idle classbrowser and pathbowserTerry Jan Reedy2014-02-021-0/+0
|\ \ | |/ | | | | from the old green snake to the new new blue and yellow snakes.
| * Update the python.gif icon for the Idle classbrowser and pathbowserTerry Jan Reedy2014-02-021-0/+0
| | | | | | | | from the old green snake to the new new blue and yellow snakes.
* | Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess moduleVictor Stinner2014-02-019-50/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a new asyncio.subprocess module * Add new create_subprocess_exec() and create_subprocess_shell() functions * The new asyncio.subprocess.SubprocessStreamProtocol creates stream readers for stdout and stderr and a stream writer for stdin. * The new asyncio.subprocess.Process class offers an API close to the subprocess.Popen class: - pid, returncode, stdin, stdout and stderr attributes - communicate(), wait(), send_signal(), terminate() and kill() methods * Remove STDIN (0), STDOUT (1) and STDERR (2) constants from base_subprocess and unix_events, to not be confused with the symbols with the same name of subprocess and asyncio.subprocess modules * _ProactorBasePipeTransport.get_write_buffer_size() now counts also the size of the pending write * _ProactorBaseWritePipeTransport._loop_writing() may now pause the protocol if the write buffer size is greater than the high water mark (64 KB by default)
* | #20288: merge with 3.3.Ezio Melotti2014-02-012-3/+9
|\ \ | |/
| * #20288: fix handling of invalid numeric charrefs in HTMLParser.Ezio Melotti2014-02-012-3/+9
| |
* | inspect.tests: Fix tests to work on python built with ↵Yury Selivanov2014-02-011-0/+3
| | | | | | | | '--without-doc-strings' #20471
* | Fix test_hash on "SPARC Solaris 10 (cc%2C 64b) [SB] 3.x" buildbotVictor Stinner2014-02-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | I picked the value from the error message: ====================================================================== FAIL: test_ucs2_string (test.test_hash.StrHashRandomizationTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/cpython/buildslave/cc-64/3.x.snakebite-sol10-sparc-cc-64/build/Lib/test/test_hash.py", line 292, in test_ucs2_string self.assertEqual(self.get_hash(self.repr_ucs2, seed=42), h) AssertionError: -3927695501187247084 != None
* | test_hash: Fix a BytesWarning in get_hash_command()Victor Stinner2014-02-011-1/+1
| |
* | test_asyncio: relax timing, the "AMD64 Windows Server 2008 [SB] 3.x" buildbotVictor Stinner2014-02-011-1/+1
| | | | | | | | looks to be slow
* | tracemalloc: Fix slicing traces and fix slicing a traceback.Victor Stinner2014-02-012-6/+16
| |
* | Issue #20452: Fix test_time_and_call_at() of test_asyncio on WindowsVictor Stinner2014-02-011-7/+8
| | | | | | | | | | Use the granularity to check the minimum time delta, instead of arbitrary value.
* | Issue #20452: test_asyncio checks also the granularityVictor Stinner2014-02-011-0/+8
| |
* | Issue #20319: concurrent.futures.wait() can block forever even if Futures ↵Brian Quinlan2014-02-011-2/+4
| | | | | | | | have completed
* | inspect: Add some comments in Parameter.__eq__ methodYury Selivanov2014-01-311-0/+11
| |
* | inspect.Signauture.from_function: validate duck functions in Signature ↵Yury Selivanov2014-01-311-5/+11
| | | | | | | | constructor #17159
* | 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
| |