Skip to content

introduce pyparsing#27

Open
MoonChel wants to merge 8 commits intomasterfrom
vlado/pyparsing
Open

introduce pyparsing#27
MoonChel wants to merge 8 commits intomasterfrom
vlado/pyparsing

Conversation

@MoonChel
Copy link
Collaborator

No description provided.

@MoonChel MoonChel changed the title wip: introduce pyparsing introduce pyparsing Feb 21, 2021
@@ -1,13 +1,18 @@
import re
from pyparsing import *
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get rid from such types' of imports please? Import just what you need in code and nothing else.

I see at least one big disadvantage in here: you're importing everything from pyparsing namespace to current one, but you can not say what exactly were imported, so there is place for overriding some methods/variables/classes that were imported from there.

Also, as far as I remember, some code analysing tools could fail because of this imports (skip them, fail on them, etc.)

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

Successfully merging this pull request may close these issues.

2 participants