Skip to content

pythemis: Populate __all__ with all public modules - #914

Merged
ilammy merged 1 commit into
cossacklabs:masterfrom
ilammy:python-star-import
Apr 18, 2022
Merged

ilammy merged 1 commit into
cossacklabs:masterfrom
ilammy:python-star-import

Conversation

@ilammy

@ilammy ilammy commented Apr 17, 2022

Copy link
Copy Markdown
Collaborator

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

W-PyThemis 🐍 Wrapper: PyThemis, Python API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants