[Python-Dev] ast-objects branch created
Delaney, Timothy (Tim)
tdelaney at avaya.com
Wed Dec 7 23:40:17 CET 2005
Fredrik Lundh wrote:
> if you check my original post, you'll find code for a new list helper
> function, which would solve this in a convenient way.
Yep - I thought I'd seen something like this, but couldn't find it
(eventually found it by searching for Lundh ;). That's exactly what I
was thinking of. However, I'm also thinking that it's worthwhile to have
aliases that state that this is being done for memory management - hence
the idea of _PyArena_ADD (and probably _PyArena_REMOVE, which would have
to do an identity removal).
I'm taking some leave over Christmas/New Year, so I might have a look at
some other parts of the python codebase and see if there are other areas
that might benefit from using lists as arenas like this.
Tim Delaney
More information about the Python-Dev
mailing list