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

Make a copy of globals() before updating it. #715

Merged
merged 1 commit into from
Apr 26, 2019

Conversation

georgi-yanchev
Copy link
Contributor

@georgi-yanchev georgi-yanchev commented Apr 25, 2019

Addresses: #714

@jsirois
Copy link
Member

jsirois commented Apr 26, 2019

Thanks @georgi-yanchev! I think the copying stands on its own without an added test. Mutating globals is clearly not what these few lines of code were after.

@jsirois jsirois merged commit 87b2129 into pex-tool:master Apr 26, 2019
@georgi-yanchev georgi-yanchev deleted the globals_isolation branch April 26, 2019 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants