Repository navigation
Final PR to remove last vestiges of pywin32 from SCons. - #3810
Merged
bdbaddog merged 10 commits intoOct 4, 2020
Merged
Conversation
…om SCons.Script.main
…ch should always return a positive integer. The fake threading module dummy_threading will always return -1
…dog/scons into remove_pywin32_from_platform_win32
mwichmann
reviewed
Oct 4, 2020
| if sys.platform == 'win32': | ||
| msg = fetch_win32_parallel_msg() | ||
| elif jobs.num_jobs == 1 or not python_has_threads: | ||
| if jobs.num_jobs == 1 or not python_has_threads: |
Collaborator
There was a problem hiding this comment.
This check doesn't make sense... we're already inside a block which is if num_jobs > 1 so the first part can't be true in any case, and if it were, it's not when we'd want to generate the warning. Further, if we're actually ignoring -j, shouldn't we set num_jobs down to one to make that true?
Contributor
Author
There was a problem hiding this comment.
num_jobs comes from -j, but jobs.num_jobs comes from SCons.Job.Jobs which can be one, if
self.job = Parallel(taskmaster, num, stack_size)
Throws an exception.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove pywin32 from scons win32 install requirements. Remove usage from SCons.Script.main
Fixes #2291
Contributor Checklist:
CHANGES.txt(and read theREADME.rst)