diff options
| author | Pablo Galindo <Pablogsal@gmail.com> | 2020-06-11 16:30:46 (GMT) | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-11 16:30:46 (GMT) | 
| commit | 1ed83adb0e95305af858bd41af531e487f54fee7 (patch) | |
| tree | 5b05876e1800975fd2f0b8021544423f9fd9822a /Python/pylifecycle.c | |
| parent | 311110abcd8ab648dbf1803e36a8ba5d93fa019b (diff) | |
| download | cpython-1ed83adb0e95305af858bd41af531e487f54fee7.zip cpython-1ed83adb0e95305af858bd41af531e487f54fee7.tar.gz cpython-1ed83adb0e95305af858bd41af531e487f54fee7.tar.bz2  | |
bpo-40939: Remove the old parser (GH-20768)
This commit removes the old parser, the deprecated parser module, the old parser compatibility flags and environment variables and all associated support code and documentation.
Diffstat (limited to 'Python/pylifecycle.c')
| -rw-r--r-- | Python/pylifecycle.c | 3 | 
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index f2f7d58..c754f21 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -18,7 +18,6 @@  #include "pycore_sysmodule.h"     // _PySys_ClearAuditHooks()  #include "pycore_traceback.h"     // _Py_DumpTracebackThreads() -#include "grammar.h"              // PyGrammar_RemoveAccelerators()  #include <locale.h>               // setlocale()  #ifdef HAVE_SIGNAL_H @@ -50,7 +49,6 @@ _Py_IDENTIFIER(threading);  extern "C" {  #endif -extern grammar _PyParser_Grammar; /* From graminit.c */  /* Forward declarations */  static PyStatus add_main_module(PyInterpreterState *interp); @@ -1301,7 +1299,6 @@ finalize_interp_clear(PyThreadState *tstate)      _PyWarnings_Fini(tstate->interp);      if (is_main_interp) { -        PyGrammar_RemoveAccelerators(&_PyParser_Grammar);          _PyExc_Fini();      }  | 
