Skip to content

Code cleanups#352

Merged
tomMoral merged 48 commits intojoblib:masterfrom
ogrisel:code-cleanups
Feb 17, 2022
Merged

Code cleanups#352
tomMoral merged 48 commits intojoblib:masterfrom
ogrisel:code-cleanups

Conversation

@ogrisel
Copy link
Copy Markdown
Contributor

@ogrisel ogrisel commented Feb 16, 2022

This PRs picks up all the remaining code cleanups from #304 except the one on the reduction.py module. I prefer to make this module preserve its public API to keep it consistent with the upstream multiprocessing reduction API.

I also merge master to resolve a few conflicts.

Fixes #303.

@ogrisel
Copy link
Copy Markdown
Contributor Author

ogrisel commented Feb 16, 2022

@tomMoral ok for merging those code cleanups? I think they bring general improvements to the code base (and remove deprecation warnings for distutils in the tests).

@ogrisel
Copy link
Copy Markdown
Contributor Author

ogrisel commented Feb 16, 2022

Note that there are some things that will get reformatted by the switch to black but many things are actual small code changes that generally improve the code and make it more modern now that we don't need to be compatible with Python 2 syntax and older Python 3 versions.

Copy link
Copy Markdown
Contributor

@tomMoral tomMoral left a comment

Choose a reason for hiding this comment

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

There are a few changes that seems arbitrary and make the code less explicit in my opinion but overall, this makes the code much cleaner so merging this one.

@tomMoral tomMoral merged commit 4d21f8f into joblib:master Feb 17, 2022
@ogrisel ogrisel deleted the code-cleanups branch February 17, 2022 09:28
@tomMoral
Copy link
Copy Markdown
Contributor

Thanks a lot @arquolo for all the hard work!!! and @glemaitre and @ogrisel for splitting the changes in smaller PR.

@glemaitre
Copy link
Copy Markdown
Contributor

Nice. This was a big PR :)

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.

Python 2.7-3.5 EOL

4 participants