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

Add missing attribute co_positions for Python 3.11 #379

Merged
merged 2 commits into from
Nov 2, 2022
Merged

Add missing attribute co_positions for Python 3.11 #379

merged 2 commits into from
Nov 2, 2022

Conversation

eltonkl
Copy link
Contributor

@eltonkl eltonkl commented Nov 1, 2022

This PR addresses #377 and enables CI for Python 3.11.

Converting code.co_positions() to a list strips code objects in its attributes that would otherwise prevent the _Code object from being pickled. Without this change, test_exception_traceback_present never terminates.

@auvipy auvipy merged commit 261334e into celery:master Nov 2, 2022
@eltonkl eltonkl deleted the fix-3.11 branch November 10, 2022 21:40
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.

2 participants