Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Unittest for __main__ bootstrapping #11

Open
maxfischer2781 opened this issue May 2, 2016 · 3 comments
Open

Unittest for __main__ bootstrapping #11

maxfischer2781 opened this issue May 2, 2016 · 3 comments

Comments

@maxfischer2781
Copy link
Owner

Bootstrapping of the __main__ module lacks proper unit testing. See the py3 multiprocessing for a way to do this properly.

@maxfischer2781
Copy link
Owner Author

Apparently, bootstrapping __main__ is also broken - imported modules may be set to None.

@maxfischer2781
Copy link
Owner Author

maxfischer2781 commented Sep 16, 2016

Bootstrapping __main__ has been fixed in cd85b3d and is in v0.16.1.

@maxfischer2781
Copy link
Owner Author

The fix only applies to names, importing __main__ by path destroys the namespace in py2.7 and is unavailable in py2.6.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant