[pypy-dev] Question about "__extend__" hacks (in pypyjit module)

Maciej Fijalkowski fijall at gmail.com
Mon Feb 8 18:24:37 EST 2016


__extend__ hacks add extra methods to classes

On Tue, Feb 9, 2016 at 12:01 AM, Magnus Morton <m at magnusmorton.com> wrote:
> Hi,
>
> In the __init__.py for the ‘pypyjit’ module there’s a comment in the ‘setup_after_space_initialization’ method "force the __extend__ hacks to occur early” (line 34) followed by two imports. What are these __extend__ hacks?
>
> Many thanks,
> Magnus
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev


More information about the pypy-dev mailing list