[Libre-soc-bugs] [Bug 1094] insndb instruction database visitor-walker is needed
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Sat Jun 3 15:30:38 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1094
--- Comment #18 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Also, a corresponding PEP acknowledges the issue:
https://peps.python.org/pep-0328/#rationale-for-absolute-imports
So, TL;DR: there's always a chance a naming collision happens since we don't
control which modules Python brings with a new versions. In order to solve
this, there are correct import statements (which are used throughout our code
base). So no need for this change other than "types.py simply doesn't fit this
module well, its contents are not limited to types".
So I suggest renaming the module to core.py, but never _ever_ bother with
"donnerwetter we used standard module name" problem (as long as we import
correctly). Objections?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list