Thanks, but just to verify I asked chatgpt how to tell if it was enabled at compile time and it suggested:
import sysconfig
print(sysconfig.get_config_var("WITH_EXPERIMENTAL_JIT"))
print(sysconfig.get_config_var("WITH_EXPERIMENTAL_JIT"))
which prints "None".
On Fri, Jan 10, 2025 at 11:39 PM Todd Zullinger <tmz@xxxxxxxxx> wrote:
Neal Becker wrote:
> I believe experimental jit support in python 3.13 needs to
> be enabled both at compile time and at runtime. Does
> Fedora's python3.13 have this enabled?
Knowing nothing about this, I searched the fine web and
checked the Python 3.13 release notes which explain this and
how it is enabled and used:
https://docs.python.org/3/whatsnew/3.13.html#an-experimental-just-in-time-jit-compiler
Then I looked at the source for the python3.13 package in
Fedora and can see that it is enabled at compile-time, but
disabled by default at runtime:
https://src.fedoraproject.org/rpms/python3.13/blob/rawhide/f/python3.13.spec#_123-133
You simply need to set PYTHON_JIT=1 to enable it.
--
Todd
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Those who don't understand recursion are doomed to repeat it
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue