On Tue, Dec 21, 2010 at 1:31 PM, Antonio Cuni <[email protected]> wrote: > On 21/12/10 12:05, Maciej Fijalkowski wrote: > >>> __itemsize__ - in bytes, corresponds to item size field in the types >>> definition structure. >>> >>> It's a field for types. >>> See: >>> http://docs.python.org/c-api/typeobj.html#tp_itemsize >>> >> >> Well... Those are docs for C API. It doesn't say it's exposed at >> applevel nor since which version. (Also, to be precise, C API is known >> to be implementation specific) > > Moreover, I don't think we could give it a sane semantics on PyPy, given that > the same applevel type can be potentially implemented by many different low > level structures with different sizes. >
Not even "potentially", it actually is in some places. _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
