Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d158d7

Browse files
committed
Python 2.2 is no longer supported
It was already on its last legs, and it turns out that it wasaccidentally broken in commit89e850eand no one cared. So remove the rest the support for it and updatethe documentation to indicate that Python 2.3 is now required.
1 parentd9bb75d commit1d158d7

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.outPython 2.4 and older (without with statement)
99
plpython_subtransaction_5.outPython 2.5 (without with statement)
1010

1111
plpython_types_3.outPython 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
#definePY_SSIZE_T_MIN INT_MIN
6868
#endif
6969

70-
/*
71-
* PyBool_FromLong is supported from 2.3.
72-
*/
73-
#ifPY_VERSION_HEX<0x02030000
74-
#definePyBool_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)

[8]ページ先頭

©2009-2025 Movatter.jp