|
From: Julien E. <re...@bu...> - 2017-06-10 20:33:02
|
New submission from Julien Enselme: Hi, I am a member of the NbPython team (http://nbpython.org/). We develop the python plugin for Netbeans IDE and bundle Jython in our plugin. We rely on jython to parse import statements. We found out that the result of org.python.ast.alias.getInternalName (https://github.com/jythontools/jython/blob/master/src/org/python/antlr/ast/alias.java#L24) is wrong in some cases. If we parse statement like `from . import toto`, the method returns an empty string instead of `.`. This causes our code formating capabilities to fail. Tested with jython 2.7.0 and 2.7.1rc2. ---------- messages: 11433 nosy: jenselme severity: normal status: open title: Parsing of `from . import something` is incorrect versions: Jython 2.7 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue2598> _______________________________________ |