Author brett.cannon
Recipients Ben Lewis2, brett.cannon, eric.smith
Date 2019-06-26.18:05:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I can't reproduce:

>>> from importlib import abc
>>> from . import util
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'util' from '__main__' (unknown location)
>>> import importlib.util

Did you happen to do an `import *` prior to this in your REPL? If so that might explain it as you could have pulled in __package__ and such and that's used to resolve relative imports.
Date User Action Args
2019-06-26 18:05:28brett.cannonsetrecipients: + brett.cannon, eric.smith, Ben Lewis2
2019-06-26 18:05:28brett.cannonsetmessageid: <>
2019-06-26 18:05:28brett.cannonlinkissue37409 messages
2019-06-26 18:05:28brett.cannoncreate