Remove unneeded Python includes

Peter Eisentraut <peter@eisentraut.org>

Commit: 4339e10f090ec6b5ceb727c00e7a345cc9178e1e
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2021-11-25T13:32:43Z
Releases: 10.20
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

Files

PathChange+/−
src/pl/plpython/plpython.h modified +0 −3

Discussion