shared memory module bugs?
aleax at aleax.it
Wed Oct 9 00:10:18 CEST 2002
?????? ?. wrote:
> add the option of creating new objects in the shared memory pool.
> Is this possible with python? The last time I was looking you couldn't
> replace Python's memory manager in runtime.
No, but you can define a type's tp_alloc so that it gets memory for
instances of the type however it likes best. I believe this only works
for types defined in C (i.e., that is option is not given for Python-coded
types), at least currently.
More information about the Python-list