Skip to content

Conversation

@carltongibson
Copy link
Member

Refs: python/cpython#99247

This would be needed for Django 4.2, which would support PY312 on release of that.

Adds markcoroutinefunction() and iscoroutinefunction shims, and makes use of those internally.

@carltongibson carltongibson force-pushed the iscoroutinefunction-shim branch from 2103179 to a6a4ca4 Compare December 13, 2022 10:36
@carltongibson
Copy link
Member Author

Lint failure is a pre-commit fetching from GitLab error.

@carltongibson
Copy link
Member Author

carltongibson commented Dec 13, 2022

I'm hoping the Python PR can make it into the next Python 3.12 alpha.

Ideally we could get this into an asgiref version for the 4.2a1 release, due Jan 16th. //cc @felixxm

@felixxm
Copy link
Member

felixxm commented Dec 13, 2022

Ideally we could get this into an asgiref version for the 4.2a1 release, due Jan 16th. //cc @felixxm

🤞

Copy link
Member

@andrewgodwin andrewgodwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very reasonable!

@carltongibson

This comment was marked as resolved.

@carltongibson carltongibson force-pushed the iscoroutinefunction-shim branch from 8c667a5 to 1689063 Compare December 14, 2022 20:06
@carltongibson carltongibson merged commit 36f37c9 into main Dec 14, 2022
@carltongibson carltongibson deleted the iscoroutinefunction-shim branch December 14, 2022 20:09
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.

3 participants