[Python-checkins] bpo-34653: Removed unused function PyParser_SimpleParseStringFilename. (GH-9260)

Miss Islington (bot) webhook-mailer at python.org
Thu Sep 13 12:35:01 EDT 2018


https://github.com/python/cpython/commit/53c427e839d3e55d4791dca687a2d47534465a7a
commit: 53c427e839d3e55d4791dca687a2d47534465a7a
branch: master
author: Eric V. Smith <ericvsmith at users.noreply.github.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2018-09-13T09:34:55-07:00
summary:

bpo-34653: Removed unused function PyParser_SimpleParseStringFilename. (GH-9260)



This function was not in any .h file and was not used by Python, so removing it is safe.


https://bugs.python.org/issue34653

files:
A Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst
M Python/pythonrun.c

diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst b/Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst
new file mode 100644
index 000000000000..30193742a320
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst	
@@ -0,0 +1 @@
+Remove unused function PyParser_SimpleParseStringFilename.
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 43a98c96cd5c..276c5d102858 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1295,12 +1295,6 @@ PyParser_SimpleParseStringFlagsFilename(const char *str, const char *filename,
     return n;
 }
 
-node *
-PyParser_SimpleParseStringFilename(const char *str, const char *filename, int start)
-{
-    return PyParser_SimpleParseStringFlagsFilename(str, filename, start, 0);
-}
-
 /* May want to move a more generalized form of this to parsetok.c or
    even parser modules. */
 



More information about the Python-checkins mailing list