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

Lines changed: 0 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy