GoogleChromeLabs / pywebsocket3

BSD 3-Clause "New" or "Revised" License
44 stars 32 forks source link

`ssl.wrap_socket()` was removed in Python 3.12 #38

Open andreubotella opened 6 months ago

andreubotella commented 6 months ago

The ssl.wrap_socket function has been deprecated since Python 3.7, and it was finally removed in 3.12. It would be good for pywebsocket3 to migrate to SSLContext.wrap_socket instead.

See https://github.com/web-platform-tests/wpt/issues/44427#issuecomment-1937004151 for how this affects WPT.