[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44656] [PATCH] Upgrade pypy3
From: |
Maxim Cournoyer |
Subject: |
[bug#44656] [PATCH] Upgrade pypy3 |
Date: |
Fri, 06 Aug 2021 21:29:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Lars-Dominik,
Lars-Dominik Braun <lars@6xq.net> writes:
> Hello Maxim,
>
> that’s answered quickly:
>
>> does it require its own .pyc files?
> Yes, .pyc files are implementation-dependent, as their name suggests
> (module.implementation-version.pyc).
>
>> Does it dismiss CPython's produced ones?
> It won’t look at them.
>
>> Can we not point it to consume our existing Python libraries (it's
>> different sys.path suggest differently), etc.)
> Technically plain Python modules should “just work”, but C extensions
> must be recompiled, so usually it’s safer to run setup.py using PyPy and
> install into a PyPy-specific site-modules.
Thanks for the insights.
I guess one way it could work was if we had some transformation option
to rebuild the Python collection against Pypy (do we have something to
do this already?).
Thanks,
Maxim