3 ms·
A far worse problem that still exists is that your module can get pulled by one of your dependencies (which could include some other part of stdlib!) instead of
by int_19h 4y ago
A far worse problem that still exists is that your module can get pulled by one of your dependencies (which could include some other part of stdlib!) instead of a system package if there is a name clash.
Worse yet, since Python stdlib gets new packages in new versions, valid code written in the past might get a name clash in a new Python version.
It's really unfortunate that there's no single top namespace package for the entire Python stdlib, like "std" in C++, Rust, or Zig.