Skip to content

Remove deprecated socket.error from Connection.connect exception handler#1062

Merged
methane merged 1 commit into
PyMySQL:mainfrom
Nothing4You:remove-socket.error
Aug 24, 2022
Merged

Remove deprecated socket.error from Connection.connect exception handler#1062
methane merged 1 commit into
PyMySQL:mainfrom
Nothing4You:remove-socket.error

Conversation

@Nothing4You
Copy link
Copy Markdown
Contributor

Since python 3.3, socket.error is a deprecated alias for OSError, which is already included.

https://docs.python.org/3/library/socket.html#socket.error

Since python 3.3, `socket.error` is a deprecated alias for OSError, which is
already included.
@methane methane merged commit dd47caa into PyMySQL:main Aug 24, 2022
@Nothing4You Nothing4You deleted the remove-socket.error branch August 24, 2022 08:19
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants