Skip to content

Commit 0d335cb

Browse files
committed
Remove unneeded Python includes
Inluding <compile.h> and <eval.h> has not been necessary since Python 2.4, since they are included via <Python.h>. Morever, <eval.h> is being removed in Python 3.11. So remove these includes. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/84884.1637723223%40sss.pgh.pa.us
1 parent 216156f commit 0d335cb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pl/plpython/plpython.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ typedef int Py_ssize_t;
124124
#undef TEXTDOMAIN
125125
#define TEXTDOMAIN PG_TEXTDOMAIN("plpython")
126126

127-
#include <compile.h>
128-
#include <eval.h>
129-
130127
/* put back our *printf macros ... this must match src/include/port.h */
131128
#ifdef vsnprintf
132129
#undef vsnprintf

0 commit comments

Comments
 (0)