Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2019-04-13 23:40:40 -04:00
20 changed files with 311 additions and 63 deletions

View File

@@ -159,7 +159,7 @@ class Python35Parser(Python34Parser):
call_token = tokens[i+1]
rule = 'call ::= expr unmapexpr ' + call_token.kind
self.addRule(rule, nop_func)
elif opname == 'BEFORE_ASYNC_WITH':
elif opname == 'BEFORE_ASYNC_WITH' and self.version < 3.8:
# Some Python 3.5+ async additions
rules_str = """
async_with_stmt ::= expr