GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — gh-148292: Update ssl._SSLSocket for OpenSSL 4 by vstinner · Pull Request #149102 · python/cpython Conversation
| ||||||||||||||||
Documentation build overview
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| @@ -0,0 +1,7 @@ | |||
| :mod:`ssl`: Update :class:`ssl.SSLSocket` for OpenSSL 4. The class now | |||
| remembers if it gets a :exc:`ssl.SSLEOFError`. In this case, following | |||
| :meth:`~ssl.SSLSocket.read`, :meth:`!sendfile`, :meth:`~ssl.SSLSocket.write`, | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
:meth:~ssl.SSLSocket.sendfile ?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Using :meth:~ssl.SSLSocket.sendfile makes the documentation fails to build. It doesn't work since SSLSocket.sendfile() has no anchor at https://docs.python.org/dev/library/ssl.html#ssl.SSLSocket, but SSLSocket.sendfile() method is documented
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Gregory P. Smith <[email protected]>
|
@gpshead: Please review the updated PR. Note: Before, I didn't want to use |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Victor Stinner <[email protected]>
|
@picnixz: Would you mind to review this change? It would be nice to have OpenSSL 4 support in Python 3.15 beta1 (feature freeze is next Tuesday). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
The _SSLSocket object now remembers if it gets an EOF error. In this case, read(), sendfile(), write() and do_handshake method calls fail with SSLEOFError without calling the underlying OpenSSL function. Co-authored-by: Gregory P. Smith <[email protected]> (cherry picked from commit 7b7fa3f)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.