Skip to content

Compatible with Python 3.11 #163

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
Jan 13, 2024
Merged

Compatible with Python 3.11 #163

merged 1 commit into from
Jan 13, 2024

Conversation

Jonney
Copy link
Contributor

@Jonney Jonney commented Mar 27, 2023

In Python 3.11, asyncio.sslproto.SSLProtocol inherits from asyncio.protocols.BufferedProtocol. In SSLProtocol, data_received() is no longer used and has been replaced with get_buffer() and buffer_updated().

In Python 3.11, asyncio.sslproto.SSLProtocol inherits from asyncio.protocols.BufferedProtocol.
In SSLProtocol, data_received() is no longer used and has been replaced with get_buffer() and buffer_updated().
Copy link

@rlaphoenix rlaphoenix left a comment

Choose a reason for hiding this comment

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

Tested and works on Python 3.11.7 64bit (Windows 11, 64-bit).

@qwj qwj merged commit e03384f into qwj:master Jan 13, 2024
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