shared memory module bugs?
Alex Martelli
aleax at aleax.it
Tue Oct 8 18:10:18 EDT 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.
Alex
More information about the Python-list
mailing list