New submission from JemyTan <mrtjm...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue37978>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to