[Python-Dev] Memory management in the AST parser & compiler

Neal Norwitz nnorwitz at gmail.com
Wed Nov 30 19:54:45 CET 2005


On 11/30/05, Neil Schemenauer <nas at arctrix.com> wrote:
> Thomas Lee <krumms at gmail.com> wrote:
> > Quick semi-related question: where are the marshal_* functions called?
> > They're all static in Python-ast.c and don't seem to be actually called
> > anywhere. Can we ditch them?
>
> They are intended to be used to make the AST available to Python
> code.  It would be nice if they could be retained but nothing will
> break (AFAIK) if they are ditched.

If everything is a PyObject, wouldn't they be redundant?

n


More information about the Python-Dev mailing list