Issue1017

classification
Title: Jython new style classes lack __basicsize__
Type: behaviour Severity: minor
Components: Core Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: pjenvey, zyasoft
Priority: Keywords:

Created on 2008-04-01.00:10:27 by pjenvey, last changed 2008-09-13.20:24:25 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
History
Date User Action Args
2008-09-13 20:24:25zyasoftsetnosy: + zyasoft
messages: + msg3534
2008-06-14 01:01:15pjenveysetmessages: + msg3283
2008-04-01 00:10:27pjenveycreate