New issue 3119: pypy3.6-7.2 sets `socket.sslerror` but that's a Python 2 
attribute
https://bitbucket.org/pypy/pypy/issues/3119/pypy36-72-sets-socketsslerror-but-thats-a

Jason Madden:

When 
[_cffi_ssl._stdssl.error](https://bitbucket.org/pypy/pypy/src/dde73a3a316b7b5228248addd7676d017d82f233/lib_pypy/_cffi_ssl/_stdssl/error.py?at=py3.6#lines-31)
 is imported, it unconditionally assigns a value to `socket.sslerror`. Under 
Python 2, this is expected, but `socket.sslerror` was [removed in Python 
3.0](https://github.com/python/cpython/commit/86bc33cb7c248ede88ff9bd82775aab818f6224f#diff-1f037cd6b68ccd47326d99aeb7ae2c6a).
  

This attribute was not present in pypy3.6-7.1.

Having this attribute present on Python 3.6 can slightly confuse code  that's 
trying to detect what sort of errors to catch.


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to