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

Commit 1d158d7

Browse files
committed
Python 2.2 is no longer supported
It was already on its last legs, and it turns out that it was accidentally broken in commit 89e850e and no one cared. So remove the rest the support for it and update the documentation to indicate that Python 2.3 is now required.
1 parent d9bb75d commit 1d158d7

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

doc/src/sgml/installation.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ su - postgres
206206
installation with the header files and
207207
the <application>distutils</application> module. The minimum
208208
required version is <productname>Python</productname>
209-
2.2. <productname>Python 3</productname> is supported if it's
209+
2.3. <productname>Python 3</productname> is supported if it's
210210
version 3.1 or later; but see
211211
<![%standalone-include[the <application>PL/Python</> documentation]]>
212212
<![%standalone-ignore[<xref linkend="plpython-python23">]]>

src/pl/plpython/expected/README

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ plpython_subtransaction_0.out Python 2.4 and older (without with statement)
99
plpython_subtransaction_5.out Python 2.5 (without with statement)
1010

1111
plpython_types_3.out Python 3.x
12-
13-
Note: Building with Python 2.2 is supported, but there are no expected
14-
files for it (too much work to maintain).

src/pl/plpython/plpython.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@ typedef int Py_ssize_t;
6767
#define PY_SSIZE_T_MIN INT_MIN
6868
#endif
6969

70-
/*
71-
* PyBool_FromLong is supported from 2.3.
72-
*/
73-
#if PY_VERSION_HEX < 0x02030000
74-
#define PyBool_FromLong(x) PyInt_FromLong(x)
75-
#endif
76-
7770
/*
7871
* Python 2/3 strings/unicode/bytes handling. Python 2 has strings
7972
* and unicode, Python 3 has strings, which are unicode on the C

0 commit comments

Comments
 (0)