[issue34414] Absolute imports conflict with local files

Jonathan Hadida report at bugs.python.org
Fri Aug 17 06:54:30 EDT 2018


Jonathan Hadida <ariel.hadida at gmail.com> added the comment:

With regards to "This has nothing to do with absolute imports at all.", I would like to point out that the "import math" statement that I am complaining about IS WITHIN THE NUMPY MODULE. So it seems very related to this bug.

How can "import math", **written within NumPy**, be an absolute import if I import numpy from within my own module, but not from a script?  According to your example, NumPy shouldn't have any issue loading the standard math module instead of my local file.

----------
resolution: not a bug -> 
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34414>
_______________________________________


More information about the Python-bugs-list mailing list