[issue34653] PyParser_SimpleParseStringFilename should be deleted

Eric V. Smith report at bugs.python.org
Wed Sep 12 17:58:05 EDT 2018


New submission from Eric V. Smith <eric at trueblade.com>:

There are 6 PyParser_SimpleParse* functions in pythonrun.c. 5 of them are documented in c-api/veryhigh.rst and appear in pythonrun.h. But PyParser_SimpleParseStringFilename is not documented and is not in any .h file.

I propose we delete PyParser_SimpleParseStringFilename. It's not documented, it's not in a .h file, and it's not called from within Python's source. It's also trivial to implement in terms of PyParser_SimpleParseStringFlagsFilename.

----------
assignee: eric.smith
components: Interpreter Core
messages: 325189
nosy: eric.smith
priority: normal
severity: normal
status: open
title: PyParser_SimpleParseStringFilename should be deleted
type: enhancement
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34653>
_______________________________________


More information about the Python-bugs-list mailing list