[Python-Dev] [AST] question about marshal_write_*() fxns

Neil Schemenauer nas at arctrix.com
Mon Mar 21 18:50:49 CET 2005

On Mon, Mar 21, 2005 at 11:53:04AM -0500, Brett C. wrote:
> But one of things I am not sure of is what the marshal_write_*() functions 
> in Python/Python-ast.c are used for.  I assume they output to the marshal 
> format, but there is mention of a byte stream format and so I thought it 
> might be that as well.

I believe the idea is that they can be used to move an AST back and
forth between Python "space" (e.g. you could build an AST using
Python code and then marshal it and send it to the C compiler).


More information about the Python-Dev mailing list