Parser-v2 icon indicating copy to clipboard operation
Parser-v2 copied to clipboard

Package name shadows parser module in the standard library

Open wwentland opened this issue 7 years ago • 1 comments

The codebase contains parser/__init__.py which shadows a module of the same name in the standard library.

As this makes it hard/impossible to import the modules used by Parser-v2, it would be much appreciated if you could rename parser to, say, unstableparser.

wwentland avatar Apr 11 '18 09:04 wwentland

I've been experiencing a similar problem. If I try to use the unstable parser as a module I see the following error:

Traceback (most recent call last):
...
File "/some_path/unstable_parser.py", line 15, in <module>
    from parser import Configurable
ImportError: cannot import name Configurable

lguillou avatar Apr 11 '18 11:04 lguillou