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

In python 3.11 async.run() always tries to convert repr of the result of a coroutine as integer while fetching sigint handler. This makes the test materialize the whole tensor in memory. This changes the test co-routine to return nothing to avoid triggering this bug. #18743

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Nov 30, 2023

In python 3.11 async.run() always tries to convert repr of the result of a coroutine as integer while fetching sigint handler. This makes the test materialize the whole tensor in memory. This changes the test co-routine to return nothing to avoid triggering this bug.

python/cpython#112559

@copybara-service copybara-service bot changed the title Fixes asyncio serialization bug by making coroutine return nothing, as in python 3.11 async.run result is always casted to integer (!) In python 3.11 async.run() always tries to convert repr of the result of a coroutine as integer. This makes the test materialize the whole tensor in memory. This changes the test co-routine to return nothing to avoid triggering this bug. Nov 30, 2023
@copybara-service copybara-service bot changed the title In python 3.11 async.run() always tries to convert repr of the result of a coroutine as integer. This makes the test materialize the whole tensor in memory. This changes the test co-routine to return nothing to avoid triggering this bug. In python 3.11 async.run() always tries to convert repr of the result of a coroutine as integer while fetching sigint handler. This makes the test materialize the whole tensor in memory. This changes the test co-routine to return nothing to avoid triggering this bug. Nov 30, 2023
@copybara-service copybara-service bot closed this Nov 30, 2023
@copybara-service copybara-service bot deleted the test_586545760 branch November 30, 2023 20:37
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.

None yet

0 participants