[pypy-commit] pypy py3.5-async: Remove wrong handle_with_stmt from merge
raffael_t
pypy.commits at gmail.com
Mon Aug 1 14:46:00 EDT 2016
Author: Raffael Tfirst <raffael.tfirst at gmail.com>
Branch: py3.5-async
Changeset: r85969:6f1bd36b0cda
Date: 2016-08-01 20:45 +0200
http://bitbucket.org/pypy/pypy/changeset/6f1bd36b0cda/
Log: Remove wrong handle_with_stmt from merge
diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pypy/interpreter/astcompiler/astbuilder.py
--- a/pypy/interpreter/astcompiler/astbuilder.py
+++ b/pypy/interpreter/astcompiler/astbuilder.py
@@ -415,13 +415,6 @@
return ast.Try(body, handlers, otherwise, finally_suite,
try_node.get_lineno(), try_node.get_column())
- def handle_with_stmt(self, with_node, is_async):
- if is_async:
- wi = ast.AsyncWith(test, target, body, with_node.get_lineno(),
- with_node.get_column())
- else:
- wi = ast.With(test, target, body, with_node.get_lineno(),
- with_node.get_column())
def handle_with_item(self, item_node):
test = self.handle_expr(item_node.get_child(0))
if item_node.num_children() == 3:
More information about the pypy-commit
mailing list