Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix main __init__ py instruction order #887

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

diego-plan9
Copy link
Member

Summary

Fix an issue with the addon reintegration at #699 caused during #874, as the expansion is not performed in the right order due to the introduction of an extra code block.

Moving forward, we should really think deeply the need for making functions available in the top-level namespace via imports, as the modularization of terra is still not ideal and qiskit/__init__.py is central to the project and modifications have a number of non-trivial implications - and we should also keep an eye on the upcoming uber-qiskit reorganization.

Details and comments

Copy link
Contributor

@delapuente delapuente left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the comment too.

@diego-plan9 diego-plan9 merged commit ae38c24 into Qiskit:master Sep 11, 2018
@diego-plan9 diego-plan9 deleted the fix/pkgutil-order branch September 11, 2018 10:18
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants