[New-bugs-announce] [issue37978] Importing an unused package causes the function of another package to malfunction

JemyTan report at bugs.python.org
Thu Aug 29 09:48:49 EDT 2019


New submission from JemyTan <mrtjming at gmail.com>:

After commenting out the first line of code, the result of the program is different.
I stepped in to debug(the program runs to line 30), and found that when it hit the code"from numpy.dual import inv as func" 
It seems to use different inv().

------------------------------------
Environment:
python: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]
sklearn: 0.21.3
numpy: 1.17.0

----------
components: Windows
files: np.py
messages: 350780
nosy: JemyTan, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Importing an unused package causes the function of another package to malfunction
type: crash
versions: Python 3.7
Added file: https://bugs.python.org/file48566/np.py

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


More information about the New-bugs-announce mailing list