I agree — having a warning would be fantastic! Personally, I think the minor 
speed drawback of checking the full path would be worth it, in most cases. The 
fact that a module is being shadowed is really valuable information to have.

If there’s enough of a demand for this, which I think there is, I’d like to add 
this to the issue tracker or write a PEP for it. Since this is my first time 
contributing, any guidance would be greatly appreciated. :)

--
Gustav
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/I7SVVMJDN2A2KWA54PGN4PKVLBHE75AG/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to