a heisenbug

Steve D'Aprano steve+python at pearwood.info
Mon Aug 28 21:17:06 EDT 2017


On Tue, 29 Aug 2017 07:09 am, Peter Otten wrote:

> The lesson is that if you use a (sub)module you should never rely on an
> implicit import.

... unless the module is documented as automatically importing the submodule. An
example is os.path.


-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list