Message10105

Author Arfrever
Recipients Arfrever, zyasoft
Date 2015-06-08.00:33:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433723638.85.0.167701451025.issue2366@psf.upfronthosting.co.za>
In-reply-to
Content
Subclassing of socket.socket is broken.
I think that it was working before some major changes in socket implementation some months ago.

$ python2.7 -c $'import socket\nclass A(socket.socket): pass'
$ jython2.7 -c $'import socket\nclass A(socket.socket): pass'
Traceback (most recent call last):
  File "<string>", line 2, in <module>
TypeError: Error when calling the metaclass bases
    function() argument 1 must be code, not str
$
History
Date User Action Args
2015-06-08 00:33:58Arfreversetrecipients: + Arfrever, zyasoft
2015-06-08 00:33:58Arfreversetmessageid: <1433723638.85.0.167701451025.issue2366@psf.upfronthosting.co.za>
2015-06-08 00:33:58Arfreverlinkissue2366 messages
2015-06-08 00:33:57Arfrevercreate