Skip to content

Conversation

dalcde
Copy link

@dalcde dalcde commented Jun 17, 2023

The python 3.8 support is partly based on #14. All (but one; see below) tests
pass in python 3.7 to python 3.10 (I haven't tested earlier version but I don't
expect them to fail)

test_async_generator_1 fails in python 3.8, but I believe this is not related
to cloudpickle-generators at all; the asyncgen_asgen function fails to
convert the original async generator into a generator (even before the
cloudpickle roundtrip). I haven't looked too deeply into this, but I think that
should be addressed in a separate PR/issue.

Python 3.11 support would require a lot more work, as the internals of frame
objects was reworked.

dalcde added 2 commits June 17, 2023 11:39
This is partly based on
llllllllll#14

This fixes the test_self_in_closure test, but one async_generator test
still fails. That is because the way we used to drive the async
generator for testing no longer works in 3.8, even before the
cloudpickle round trip. I've marked it as xfail for now.
This requires a few changes in the C extension.

(This is now tested to work in python3.8 up to python3.10)
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