Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | inspect.signature: Use 'inspect.isbuiltin' in 'Signature.from_builtin' | Yury Selivanov | 2014-02-02 | 1 | -1/+2 | |
| | | ||||||
* | | whatsnew: filecmp.clear_cache, and reword description of cache in docs. | R David Murray | 2014-02-02 | 1 | -2/+2 | |
| | | ||||||
* | | Update the python.gif icon for the Idle classbrowser and pathbowser | Terry Jan Reedy | 2014-02-02 | 1 | -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 pathbowser | Terry Jan Reedy | 2014-02-02 | 1 | -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 module | Victor Stinner | 2014-02-01 | 9 | -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 Melotti | 2014-02-01 | 2 | -3/+9 | |
|\ \ | |/ | ||||||
| * | #20288: fix handling of invalid numeric charrefs in HTMLParser. | Ezio Melotti | 2014-02-01 | 2 | -3/+9 | |
| | | ||||||
* | | inspect.tests: Fix tests to work on python built with ↵ | Yury Selivanov | 2014-02-01 | 1 | -0/+3 | |
| | | | | | | | | '--without-doc-strings' #20471 | |||||
* | | Fix test_hash on "SPARC Solaris 10 (cc%2C 64b) [SB] 3.x" buildbot | Victor Stinner | 2014-02-01 | 1 | -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 Stinner | 2014-02-01 | 1 | -1/+1 | |
| | | ||||||
* | | test_asyncio: relax timing, the "AMD64 Windows Server 2008 [SB] 3.x" buildbot | Victor Stinner | 2014-02-01 | 1 | -1/+1 | |
| | | | | | | | | looks to be slow | |||||
* | | tracemalloc: Fix slicing traces and fix slicing a traceback. | Victor Stinner | 2014-02-01 | 2 | -6/+16 | |
| | | ||||||
* | | Issue #20452: Fix test_time_and_call_at() of test_asyncio on Windows | Victor Stinner | 2014-02-01 | 1 | -7/+8 | |
| | | | | | | | | | | Use the granularity to check the minimum time delta, instead of arbitrary value. | |||||
* | | Issue #20452: test_asyncio checks also the granularity | Victor Stinner | 2014-02-01 | 1 | -0/+8 | |
| | | ||||||
* | | Issue #20319: concurrent.futures.wait() can block forever even if Futures ↵ | Brian Quinlan | 2014-02-01 | 1 | -2/+4 | |
| | | | | | | | | have completed | |||||
* | | inspect: Add some comments in Parameter.__eq__ method | Yury Selivanov | 2014-01-31 | 1 | -0/+11 | |
| | | ||||||
* | | inspect.Signauture.from_function: validate duck functions in Signature ↵ | Yury Selivanov | 2014-01-31 | 1 | -5/+11 | |
| | | | | | | | | constructor #17159 | |||||
* | | 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 | |
| | |