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

refactor(python): remove multiprocessing check, and leave it to the user #5347

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

ritchie46
Copy link
Member

The problems are documented and I want to leave the responsibility of this at the end user. It is still perfectly valid to use multi-processing with any other library as long as polars is not used in the multiprocessing code.

I can imagine someone using pool.map over some function that does not use polars. That should be possible without us interfering with how people use mp.

Though, if they use polars in mp, they are warned and will hopefully quickly read our user guide with a dedicated issue on this or earlier issues on the topic.

@github-actions github-actions bot added python Related to Python Polars refactor Code improvements that do not change functionality labels Oct 27, 2022
@ritchie46 ritchie46 merged commit a55a203 into master Oct 27, 2022
@ritchie46 ritchie46 deleted the mp branch October 27, 2022 07:23
zundertj pushed a commit to zundertj/polars that referenced this pull request Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Related to Python Polars refactor Code improvements that do not change functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant