-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
We don't seem to handle relative imports very well. This can lead to confusion and frustration.
Currently, if someone does this, we won't get the import (TODO - not sure this is exactly right) :
from package.something.whatever import NewInstance
class MyObject(param1, param2)
...
...
NewInstance = MyObject(param1, param2)
They have to do this instead:
from package.something.wahtever import MyObject
NewInstance = MyObject(param1, param2)