2013/6/30 Armin Rigo <[email protected]>

> Hi Mike,
>
> On Sun, Jun 30, 2013 at 7:15 PM, Mike Beller <[email protected]> wrote:
> > is ignored (e.g. select/interp_epoll/W_EPoll, and others) -- seems a
> common
> > problem
>
> At the end of that file we have
> "W_Epoll.typedef.acceptable_as_base_class = False", meaning that it
> cannot be subclassed as app-level; so ignoring w_subtype is correct.
> Are there other examples which don't have "acceptable_as_base_class =
> False" ?
>

I tried to make a list. In the "module/" subdirectory, here are the
__new__ methods that don't use "allocate_instance" and don't define
"acceptable_as_base_class":

clr._CliObject_internal
_ffi.CDLL
_ffi.WinDLL
_ffi.Field
_ffi._StructDescr
numpypy.string_
numpypy.unicode_
numpypy.dtype
numpypy.ndarray
pypyjit.Box
_rawffi.CallbackPtr
_rawffi.CDLL
_winreg.HKEYType
zipimport.zipimporter

-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to