mikemalinowski / qute

A Qt helper library extending Marcus Ottosson's Qt.py library
MIT License
12 stars 3 forks source link

import * with __all__ defined in module may lead to unexpected imports. #14

Open ldunham1 opened 4 years ago

ldunham1 commented 4 years ago

https://github.com/mikemalinowski/qute/blob/736d3e57c9d3bb66e17bd4b61f24dc18e4faa349/qute/utilities/__init__.py#L1

It might be worthwhile ensuring you know exactly what is being imported from _core by providing an __all__ in the module. This will avoid you accidentally bringing over anything unintentionally.