[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > The point of this 'issue' is to ask the community to suggest how i can go > about finding where the problem is. As I said, there is a lot of code :) Sadly, this tracker is to track bugs related to CPython. Modifying the interpreter to change the mem

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread paul
paul added the comment: Hi guys, First, thanks for the prompt replies. @matrixise: If there is i can't find it, but i am happy to accept it as a possibility. Equally, maybe there is an assumption about memory in the cpython implementation somewhere that goes against my memory allocator ->

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi @paul, have you already checked https://docs.python.org/3/c-api/memory.html#customize-memory-allocators ? -- ___ Python tracker _

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg329755 ___ Python tracker ___ ___ Python-bugs-list

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi @paul, have you already checked https://docs.python.org/3/c-api/memory.html#customize-memory-allocators? -- nosy: +pablogsal ___ Python tracker _

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: You have the issue with your functions, not with Python. Are you sure you do not have an issue with your code? -- nosy: +matrixise ___ Python tracker __

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread paul
paul added the comment: I suspect that this _bootstrap library is not being loaded correctly, and i can only assume that this is somehow because of my memory suit, but i am not really sure where to start hunting, as there is a lot of code. My goal is just to replace malloc. If there is a be

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread paul
New submission from paul : Hi all, I am trying to replace the version of malloc/free...etc with my own function suit. I am have issues with loading the initial library setup. I am looking for wisdom from the community as to why this may be the case. Facts: - i just grabbed the latest cpyth