Skip to content

Remove concurrent.futures deadcode: process_result_item() #109906

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 1 commit into from
Sep 26, 2023

Conversation

vstinner
Copy link
Member

process_result_item() cannot be called with an int anymore, the protocol changed.

process_result_item() cannot be called with an int anymore, the
protocol changed.
@vstinner
Copy link
Member Author

result_item cannot be an int, otherwise the line after process_result_item() failed, since an int doesn't have an exit_pid attribute:

                self.process_result_item(result_item)

                process_exited = result_item.exit_pid is not None

@vstinner vstinner merged commit ae1d99c into python:main Sep 26, 2023
@vstinner vstinner deleted the cf_dead_code branch September 26, 2023 19:34
csm10495 pushed a commit to csm10495/cpython that referenced this pull request Sep 28, 2023
)

process_result_item() cannot be called with an int anymore, the
protocol changed.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
)

process_result_item() cannot be called with an int anymore, the
protocol changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant