plpython: Code cleanup related to removal of Python 2 support.

Andres Freund <andres@anarazel.de>

Commit: 9b7e24a2cb37fb52af13219f625cd719e364a346
Author: Andres Freund <andres@anarazel.de>
Date: 2022-03-08T02:30:28Z
Releases: 15.0
plpython: Code cleanup related to removal of Python 2 support.

Since 19252e8ec93 we reject Python 2 during build configuration. Now that the
dust on the buildfarm has settled, remove Python 2 specific code, including
the "Python 2/3 porting layer".

The code to detect conflicts between plpython using Python 2 and 3 is not
removed, in case somebody creates an out-of-tree version adding back support
for Python 2.

Reviewed-By: Peter Eisentraut <peter@eisentraut.org>
Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20211031184548.g4sxfe47n2kyi55r@alap3.anarazel.de

Files

Discussion