campaignmonitor / createsend-python

A Python library for the Campaign Monitor API
http://campaignmonitor.github.io/createsend-python
MIT License
57 stars 63 forks source link

Python 3.12 error (AttributeError: module 'ssl' has no attribute 'wrap_socket') #79

Open mikemanger opened 5 months ago

mikemanger commented 5 months ago

The ssl.wrap_socket() function was deprecated in 3.7 and removed in 3.12. Worth reading the Python documentation which suggests that wrap_socket is insecure, incidentally this would be a good reason to drop support for <3.7.

mikemanger commented 5 months ago

This is fixed by #78