Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pythemis: Populate __all__ with all public modules #914

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

ilammy
Copy link
Collaborator

@ilammy ilammy commented Apr 17, 2022

This makes

from pythemis import *

import all important modules into the scope, not some just of them.

exception is also sorta-kinda public, but users shouldn't really have a need for that by default, and it's a pretty generic name. You can still import it explicitly.

Checklist

  • Change is covered by automated tests
  • The coding guidelines are followed
  • Changelog is updated

"exception" is also sorta-kinda public, but users shouldn't really
have a need for that by default. You can still import it explicitly,
but it's not really expected to come up with "from pythemis import *"
@ilammy ilammy added the W-PyThemis 🐍 Wrapper: PyThemis, Python API label Apr 17, 2022
@ilammy ilammy added this to the 0.15.0 milestone Apr 17, 2022
@ilammy ilammy merged commit 14721ae into cossacklabs:master Apr 18, 2022
@ilammy ilammy deleted the python-star-import branch April 18, 2022 12:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
W-PyThemis 🐍 Wrapper: PyThemis, Python API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants