guv icon indicating copy to clipboard operation
guv copied to clipboard

guv.green.ssl is not usable for Python 3.3.3

Open ghost opened this issue 9 years ago • 1 comments

Python 3.3.3 (default, Nov 27 2013, 17:12:35) 
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import guv.green.ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.3/dist-packages/guv/__init__.py", line 14, in <module>
    from .server import serve, listen, connect, StopServe, wrap_ssl
  File "/usr/local/lib/python3.3/dist-packages/guv/server.py", line 6, in <module>
    from .green import socket, ssl
  File "/usr/local/lib/python3.3/dist-packages/guv/green/ssl.py", line 5, in <module>
    from . import _ssl33 as _ssl3
  File "/usr/local/lib/python3.3/dist-packages/guv/green/_ssl33.py", line 31, in <module>
    SOL_SOCKET = ssl_orig.SOL_SOCKET
AttributeError: 'module' object has no attribute 'SOL_SOCKET'

guv version is 0.35.2

ghost avatar May 05 '15 03:05 ghost

Nice, this is an easy enough fix.

veegee avatar May 05 '15 03:05 veegee