Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Conversation

@natelust
Copy link

...a namespace issue being created and importing in lttools in the toModule function creating a blank namespace with the file name to connect to the popen ipython process. This way the file does not have to be run and imported if it is not fully complete or there are bugs, which would cause the import to fail.

…ed a namespace issue being created and importing in lttools in the toModule function creating a blank namespace with the file name to connect to the popen ipython process. This way the file does not have to be run and imported if it is not fully complete or there are bugs, which would cause the import to fail.

Choose a reason for hiding this comment

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

I think here it would be much easier to use sys.version_info[0] (that's already an integer)

Copy link
Author

Choose a reason for hiding this comment

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

You are right, that was just something quick and dirty

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants