commit | bc28805570ae3e8835a5d502ae9ab15c52449f77 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 23 15:42:56 2020 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 23 15:42:56 2020 -0700 |
tree | 50fcd3677bde21955ccbf524b41e74fada76f58d | |
parent | 40ded947f82683f0ed08144599a83d3a1ce719eb [diff] |
bpo-40334: Use old compiler when compile mode is func_type (GH-19692) This is invoked by mypy, using ast.parse(source, "<func_type>", "func_type"). Since the new grammar doesn't yet support the func_type_input start symbol we must use the old compiler in this case to prevent a crash. https://bugs.python.org/issue40334