Skip to content

Add 'char *filename' arg to PyParser_ASTFromString() #104

Closed
python/cpython
#19839
@gvanrossum

Description

@gvanrossum

From #102 (comment):

PyParser_ASTFromString() has a char *filename argument (before int mode) -- maybe for consistency we should add it to PyPegen_ASTFromString() too?

(And while we're at it we should check if there are other inconsistencies between the two sets of APIs.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.9.0b1Needs to be fixed/implemented until the 3.9.0b1 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions