_ is not for suppressing the error, it is to use invoke the package's
initialization without gaining its namespace.
You can't import a package without using it because doing so bloats
the amount of things that the compiler needs to deal with.
On Dec 9, 7:20 pm, inspector_jouve <
kaushan...@gmail.com> wrote:
> I suggest that "imported and not used" error should be a warning
> instead. I know you can use _ to suppress the error, but it's not
> convenient anyway, you can as well just comment this import out -so
> the feature of import _ "mypkg" seems basically useless.