[New-bugs-announce] [issue30355] Unicode symbols crash lib2to3.parse

Yann Grisel report at bugs.python.org
Fri May 12 17:26:00 EDT 2017


New submission from Yann Grisel:

The code formatter YAPF relies on lib2to3 to parse the code before formatting it. The function "classify" from "lib2to3/pgen2/parse.py" returns a ParseError when encountering unicode variable names (like Δ), which it should not.

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 293573
nosy: Yann Grisel
priority: normal
severity: normal
status: open
title: Unicode symbols crash lib2to3.parse
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30355>
_______________________________________


More information about the New-bugs-announce mailing list