-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.13 with (modified) mimalloc #559
Comments
By messing with the first two files I finally got 3.13 installed, but it gives me an error (likely unrelated to the default mimalloc): SystemError: Type does not define the tp_name field. I'm not sure I edited those two files the right way, last change commented out made it install: # build = "cpython"
It is seemingly correctly installed:
Before the above I was figuring things out, and did:
|
python/cpython#113141 (comment)
[I.e. likely for all platforms Julia support.] But it's unclear to me if this is a problem for using together since using different malloc.
I've tried before to switch out Julia's use of malloc for mimalloc (it didn't work, I though somebody made it work since).
In C, if you use an alternative malloc you must use its corresponding free, and that rule would translate to Python for its allocations. Julia would do similarily, but assuming still with Libc's standard malloc and free.
I'm just thinking, can you sometimes malloc (indirectly) by Python, then Julia would do the free, and it wouldn't work? Or vice versa?
The text was updated successfully, but these errors were encountered: