[Python-Dev] PyAST_FromNode returning PyTypeObject* ?

Neal Norwitz nnorwitz at gmail.com
Thu Dec 1 19:45:11 CET 2005


On 12/1/05, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Neal,
>
> Why did you suggest that PyAST_FromNode returns PyTypeObject*?
> I can't see why type objects are much used in the AST, unless
> I'm missing something essential.

It was late and I was trying to make progress.  Assume it was a mistake.
It doesn't seem to make much sense based on the name.  I think I was
replacing all mods with PyTypeObject, but since they are probably
lists, PyObject
would be correct.

n


More information about the Python-Dev mailing list