Skip to content

Conversation

@drbild
Copy link
Owner

@drbild drbild commented Mar 22, 2019

Fixes #11

@drbild drbild changed the title travis: build and test on Python 3.7 Build and test for Python 3.7 Dec 3, 2019
@drbild drbild changed the title Build and test for Python 3.7 Add support for Python 3.7 Dec 3, 2019
@rlaunch
Copy link

rlaunch commented Feb 10, 2021

In the meantime, this monkey-patch has gotten around the issue with using SSLPSK with Python 3.8+:

import sys
import sslpsk

# Monkey patch for SSLPSK
def _sslobj(sock):
    if (3, 5) <= sys.version_info <= (3, 7):
        return sock._sslobj._sslobj
    else:
        return sock._sslobj
sslpsk.sslpsk._sslobj = _sslobj

@rutgerhendriks
Copy link

In the meantime, this monkey-patch has gotten around the issue with using SSLPSK with Python 3.8+:

Thanks for this code snippet, it saved me a bunch of time!

It would be great if (pending inclusion of sslpsk in the stdlib -- grin) this would be released so sslpsk can be used out of the box again on Python 3.7 / 3.8 / .. -- hopeful smile :)

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.

Support for Python 3.7.0?

4 participants