[pypy-issue] [issue1585] `type.__dict__['__dict__'].__objclass__` doesn't exist

Ram Rachum tracker at bugs.pypy.org
Fri Aug 23 00:32:42 CEST 2013

Ram Rachum <ram at rachum.com> added the comment:

Thanks for the info Armin.

The reason I care about this is that I'm using code from Python's `inspect` 
module, specifically the `getattr_static` function, and it's using the 
`_shadowed_dict` function which, in turn, uses 
`type.__dict__['__dict__'].__objclass__`. So perhaps a Pypy-specific 
implementation of `getattr_static` is in order?

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list