Issue1017

classification
Title: Jython new style classes lack __basicsize__
Type: behaviour Severity: minor
Components: Documentation Versions:
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, pjenvey, zyasoft
Priority: low Keywords:

Created on 2008-04-01.00:10:27 by pjenvey, last changed 2014-07-17.18:11:26 by zyasoft.

Messages
msg3111 (view) Author: Philip Jenvey (pjenvey) Date: 2008-04-01.00:10:26
Python new style classes contain a magic __basicsize__ attribute that 
returns the size of the object in bytes. Jython doesn't have this (and I 
don't see it having it any time soon or ever).

It's only referenced in one test, in test_descr, and has been commented 
out.

If we decide to never include it we should probably add the discrepancy 
to the old "Differences between CPython and Jython" document to close 
this issue out
msg3283 (view) Author: Philip Jenvey (pjenvey) Date: 2008-06-14.01:01:14
this bug prevents test_descr.slotmultipleinheritance from passing (or is 
at least one of the reasons). the lack of it can probably be worked around 
for this test, though
msg3534 (view) Author: Jim Baker (zyasoft) Date: 2008-09-13.20:24:25
test_descr.slotmultipleinheritance also relies on __weakref__, something
else we probably won't support
msg8884 (view) Author: Jim Baker (zyasoft) Date: 2014-07-17.18:11:25
I suppose we could support java.lang.instrument.Instrumentation, however this does require a change in startup to run the instrumentation agent and is not likely to be available in a container.

I'm going to close this as "wont fix" given the problems we are likely to see. It really isn't a Java thing to do.
History
Date User Action Args
2014-07-17 18:11:26zyasoftsetstatus: open -> closed
resolution: remind -> wont fix
messages: + msg8884
2013-02-27 17:34:04fwierzbickisetresolution: remind
2009-06-21 21:33:17pjenveysetcomponents: + Documentation, - Core
2009-03-03 20:35:32fwierzbickisetpriority: low
nosy: + fwierzbicki
2008-09-13 20:24:25zyasoftsetnosy: + zyasoft
messages: + msg3534
2008-06-14 01:01:15pjenveysetmessages: + msg3283
2008-04-01 00:10:27pjenveycreate