[issue17108] import silently prefers package over module when both available
3 Feb
2013
3 Feb
'13
9:48 a.m.
R. David Murray added the comment: Yes. Imagine you have a deployed application, and there happens to be an xx.py file that is masked by a package in it. You upgrade from pythonX.Y.Z to X.Y.Z+1, and your application is suddenly throwing an error. Yes it is easy to fix, but we prefer not to break things that way. Now, could we throw an error in Python 3.4? It could be discussed, at least. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17108> _______________________________________
4104
Age (days ago)
4104
Last active (days ago)
0 comments
1 participants
participants (1)
-
R. David Murray