Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 99e4d24

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 f0d4394 commit 99e4d24

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pl/plpython/plpython.h

-3
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@
9494
#undef TEXTDOMAIN
9595
#define TEXTDOMAIN PG_TEXTDOMAIN("plpython")
9696

97-
#include <compile.h>
98-
#include <eval.h>
99-
10097
/* put back our *printf macros ... this must match src/include/port.h */
10198
#ifdef vsnprintf
10299
#undef vsnprintf

0 commit comments

Comments
 (0)