clalancette / pycdlib

Python library to read and write ISOs
GNU Lesser General Public License v2.1
143 stars 38 forks source link

re-export PyCdlib using a redundant symbol alias to make it a public export #115

Closed karas84 closed 11 months ago

karas84 commented 1 year ago

As the project is now being marked as py.typed since commit 9f00509c9abfeb37d619c37c78b1c14bb47f56a6, the PyCdlib import in pycdlib/__init__.py is considered as a private import. To allow other code to import and use such symbol without typing errors, an explicit re-export is needed as described in https://github.com/microsoft/pyright/blob/main/docs/typed-libraries.md#library-interface. This pull request simply re-exports that symbol to allow importing it without typing errors.

karas84 commented 1 year ago

Any chance you are considering merging this?