Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package name shadows parser module in the standard library #13

Open
wwentland opened this issue Apr 11, 2018 · 1 comment
Open

Package name shadows parser module in the standard library #13

wwentland opened this issue Apr 11, 2018 · 1 comment

Comments

@wwentland
Copy link

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.

@lguillou
Copy link

lguillou commented Apr 11, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants