-
Notifications
You must be signed in to change notification settings - Fork 523
Closed
Labels
Milestone
Description
Hi, I don't know if this is a problem or intentionally planed, but because of namespace conflicts, we typically import the base package and not deep into it. For example:
import dateutil
dateutil.parser.parse('Fri Jun 30 12:00:56 EDT 2017')
However this appears to fail with the error:
AttributeError: 'module' object has no attribute 'parser'
The solution appears to be: from dateutil import parser and then call parser, I'm guessing this is because the __all__ in the root __init__.py doesn't exist thus not listing any packages. Is this intended behavior? Should I just use my above workaround?
Thanks!