- 25 Jul, 2015 10 commits
-
-
Berker Peksag authored
Patch by Eduardo Seabra and Thomas Kluyver.
-
Berker Peksag authored
Patch by Eduardo Seabra and Thomas Kluyver.
-
Berker Peksag authored
These functions accept same arguments as subprocess.Popen(). Patch by Martin Panter.
-
Berker Peksag authored
Initial patch by Christie.
-
Berker Peksag authored
imp.reload() was deprecated in Python 3.4 and changed to call importlib.reload(). Patch by Petr Viktorin.
-
Berker Peksag authored
imp.reload() was deprecated in Python 3.4 and changed to call importlib.reload(). Patch by Petr Viktorin.
-
Serhiy Storchaka authored
constructing lru_cache (C implementation).
-
Victor Stinner authored
-
Victor Stinner authored
* Fix ResourceWarning warnings in test_streams * Return True from StreamReader.eof_received() to fix http://bugs.python.org/issue24539 (but still needs a unittest). Add StreamReader.__repr__() for easy debugging. * remove unused imports * Issue #234: Drop JoinableQueue on Python 3.5+
-
Victor Stinner authored
Move compatibility helpers for the different Python versions to a new asyncio.compat module.
-
- 24 Jul, 2015 6 commits
-
-
Ned Deily authored
-
Ned Deily authored
-
Berker Peksag authored
If exc_traceback is None we shouldn't print a traceback header like described in the documentation.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Meador Inge authored
The fix for Issue #21217 introduced a regression that caused `inspect.getsource` to return incorrect results on nested functions. The root cause of the regression was due to switching the implementation to analyze the underlying bytecode instead of the source code. This commit switches things back to analyzing the source code in a more complete way. The original bug and the regression are both fixed by the new source code analysis.
-
- 23 Jul, 2015 9 commits
-
-
Robert Collins authored
-
Robert Collins authored
-
Robert Collins authored
-
Robert Collins authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
This commit simplifies async/await tokenization in tokenizer.c, tokenize.py & lib2to3/tokenize.py. Previous solution was to keep a stack of async-def & def blocks, whereas the new approach is just to remember position of the outermost async-def block. This change won't bring any parsing performance improvements, but it makes the code much easier to read and validate.
-
Yury Selivanov authored
-
Yury Selivanov authored
-
- 22 Jul, 2015 15 commits
-
-
Robert Collins authored
-
Robert Collins authored
-
Robert Collins authored
-
Robert Collins authored
-
Robert Collins authored
-
Robert Collins authored
-
Berker Peksag authored
* Tests that index.html is served, rather than an automatic directory listing * Tests that there is no extra data sent after the response Patch by Martin Panter.
-
Yury Selivanov authored
-
Yury Selivanov authored
This commit fixes how one-line async-defs and defs are tracked by tokenizer. It allows to correctly parse invalid code such as: >>> async def f(): ... def g(): pass ... async = 10 and valid code such as: >>> async def f(): ... async def g(): pass ... await z As a consequence, is is now possible to have one-line 'async def foo(): await ..' functions: >>> async def foo(): return await bar()
-
Zachary Ware authored
-
Zachary Ware authored
-
Zachary Ware authored
-
Zachary Ware authored
-
Zachary Ware authored
-
Zachary Ware authored
-