Issue2366
Created on 2015-06-08.00:33:58 by Arfrever, last changed 2015-09-17.20:31:58 by zyasoft.
msg10105 (view) |
Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) |
Date: 2015-06-08.00:33:57 |
|
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
$
|
msg10110 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-06-10.21:39:05 |
|
Hopefully does not require major rewriting to make happen. Although that is my plan in terms of converting the socket module to Java.
|
msg10165 (view) |
Author: Richard Moore (richmoore) |
Date: 2015-07-28.13:03:12 |
|
socket.socket is a function, that's why this is failing.
|
msg10226 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-09-04.04:45:43 |
|
Fixed as of https://hg.python.org/jython/rev/b3b82ef080a9
|
|
Date |
User |
Action |
Args |
2015-09-17 20:31:58 | zyasoft | set | status: pending -> closed |
2015-09-04 04:45:43 | zyasoft | set | status: open -> pending resolution: fixed messages:
+ msg10226 |
2015-07-28 15:05:26 | zyasoft | set | assignee: zyasoft |
2015-07-28 13:03:13 | richmoore | set | nosy:
+ richmoore messages:
+ msg10165 |
2015-07-24 13:22:57 | holywen | set | nosy:
+ holywen |
2015-06-12 17:03:38 | amak | set | nosy:
+ amak |
2015-06-10 21:39:05 | zyasoft | set | messages:
+ msg10110 milestone: Jython 2.7.1 |
2015-06-08 00:33:58 | Arfrever | create | |
|