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

Remove os.environ.copy in Dataset.map #2118

Closed
wants to merge 1 commit into from

Conversation

mariosasko
Copy link
Collaborator

Replace os.environ.copy with in-place modification
Fixes #2115

@mariosasko
Copy link
Collaborator Author

I thought deepcopy on os.environ is unsafe (see this), but I can't replicate the behavior described in the linked SO thread.

Closing this one because #2119 has a much cleaner approach.

@mariosasko mariosasko closed this Mar 26, 2021
@mariosasko mariosasko deleted the fix-copy-env branch March 26, 2021 12:03
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.

The datasets.map() implementation modifies the datatype of os.environ object
1 participant