Alfred Krohmer <dev...@devkid.net> added the comment:
Is there anything on the roadmap to fix this? This is a pretty severe bug given
that this breaks multi-threaded OpenSSL while the documentation says it's
thread-safe.
--
nosy: +devkid
___
New submission from Alfred Krohmer <dev...@devkid.net>:
OpenSSL version: 1.1.0.g-1
OS: Arch Linux
I'm creating an SSL socket like this:
s = socket.create_connection((self.host, 443), 60)
c = ssl.create_default_context()
c.set_alpn_protocols(['spdy/2'])
self.ss = c.wrap_so
Alfred Krohmer added the comment:
Can you elaborate what QtClass and QtMeta is in your case?
My original example was reduced to a minimal case and seems to work with your
suggestions.
The complete example involving SQLalchemy is here:
http://stackoverflow.com/questions/28032928/sqlalchemy
Alfred Krohmer added the comment:
I'd expect a TypeError because of the extra cls argument. It's already a
bound method.
Sorry, that was a typo.
Consider making a playlist class that *has* a SQL table, not one that *is* a
SQL table, i.e. use composition instead of inheritance
New submission from Alfred Krohmer:
The following code:
import traceback
import sys
from PyQt5.QtCore import Qt
class MetaA(type):
pass
class A(metaclass=MetaA):
pass
class MetaB(type):
pass
class B(metaclass=MetaB):
pass
for ClassB in B, Qt:
print(Trying class %s