Skip to content

[Python3] Lint fix #33099

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

Merged
merged 3 commits into from
Jul 25, 2020
Merged

[Python3] Lint fix #33099

merged 3 commits into from
Jul 25, 2020

Conversation

tbkka
Copy link
Contributor

@tbkka tbkka commented Jul 24, 2020

Removes a redundant import that python-lint complained about

tbkka added 3 commits July 24, 2020 13:04
Python3 doesn't like to pickle local functions, so make the multiprocessing
initialization function be global.

Python3 multiprocessing also seems to require conditional execution of the
top-level code.  TBH, I'm not entirely sure why Python 2 didn't need this.
@tbkka
Copy link
Contributor Author

tbkka commented Jul 24, 2020

@swift-ci Python lint

@tbkka
Copy link
Contributor Author

tbkka commented Jul 24, 2020

@swift-ci Please smoke test

@tbkka
Copy link
Contributor Author

tbkka commented Jul 24, 2020

Windows failure seems unrelated.

@tbkka
Copy link
Contributor Author

tbkka commented Jul 24, 2020

@swift-ci Please smoke test Windows

@tbkka
Copy link
Contributor Author

tbkka commented Jul 24, 2020

@swift-ci Please clean test Linux

@tbkka
Copy link
Contributor Author

tbkka commented Jul 25, 2020

@swift-ci Please smoke test Windows

@tbkka tbkka merged commit 12b7f94 into swiftlang:master Jul 25, 2020
@tbkka tbkka deleted the tbkka/py3g branch October 16, 2020 00:34
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.

1 participant