PEP 11: 使用頻度が少ないプラットフォームのサポートの停止 ========================================================== 原文: http://www.python.org/dev/peps/pep-0011/ +---------------+--------------------------------------------+ | PEP | 11 | +---------------+--------------------------------------------+ | Title | Removing support for little used platforms | +---------------+--------------------------------------------+ | Version | 80725 | +---------------+--------------------------------------------+ | Last-Modified | 2010-05-03 22:21:47 +0200 (Mon, 03 May 2010| +---------------+--------------------------------------------+ | Author | martin@v.loewis.de (Martin von wis) | +---------------+--------------------------------------------+ | Status | Active | +---------------+--------------------------------------------+ | Type | Process | +---------------+--------------------------------------------+ | Created | 07-Jul-2002 | +---------------+--------------------------------------------+ | Post-History | 18-Aug-2007 | +---------------+--------------------------------------------+ .. Abstract 概要 ----- .. This PEP documents operating systems (platforms) which are not supported in Python anymore. For some of these systems, supporting code might be still part of Python, but will be removed in a future release - unless somebody steps forward as a volunteer to maintain this code. このPEPではPythonのサポートが停止されたOperating System(プラットフォー ム)に関して記します。Pythonの中には、ここに記されたシステムのいくつかを サポートするためにコードが残されていますが、そのコードを管理するボラン ティアが現れない限り、将来のリリースで削除されるでしょう。 .. Rationale 理由 ----- .. Over time, the Python source code has collected various pieces of platform-specific code, which, at some point in time, was considered necessary to use Python on a specific platform. Without access to this platform, it is not possible to determine whether this code is still needed. As a result, this code may either break during the Python evolution, or it may become unnecessary as the platforms evolve as well. 時間とともに、Pythonのソースコードはプラットフォーム依存のコードが増え て来ました。実際にそのプラットフォームを使っていないとそのコードがまだ 必要なのかどうか判断できません。結果として、このコードはPythonの革新を 壊すことや発展を阻害することになってしまうかもしれません。 .. The growing amount of these fragments poses the risk of unmaintainability: without having experts for a large number of platforms, it is not possible to determine whether a certain change to the Python source code will work on all supported platforms. 断片化されたコードが大きくなると、管理ができなくなるリスクを増大させます。 たくさんの種類のプラットフォームの専門家がいなければ、Pythonのソースコー ドを変更した場合に全てのサポートしているプラットフォームで動くかどうか分 かりません。 .. To reduce this risk, this PEP proposes a procedure to remove code for platforms with no Python users. このリスクを軽減するために、このPEPではPythonユーザがいないプラットフォー ムのためのコードを削除するための手続きを記します。 .. Unsupporting platforms サポートされないプラットフォーム ---------------------------------- .. If a certain platform that currently has special code in it is deemed to be without Python users, a note must be posted in this PEP that this platform is no longer actively supported. This note must include: もし、今現在特別なコードを含んでいるプラットフォームにPythonユーザがいな くなった場合、もうサポートされなくなったという注意書きをこのPEPに記す必要 があります。この注意書きには以下の3点を含める必要があります。 .. - the name of the system .. - the first release number that does not support this platform .. anymore, and .. - the first release where the historical support code is actively .. removed - システムの名前 - サポートされなくなった最初のリリース名 - コードが削除された最初のリリース名 .. In some cases, it is not possible to identify the specific list of systems for which some code is used (e.g. when autoconf tests for absence of some feature which is considered present on all supported systems). In this case, the name will give the precise condition (usually a preprocessor symbol) that will become unsupported. いくつかのケースでは、どのコードが使われているかという、システムのちゃ んとしたリストを見つけることが不可能な場合があります。(例: サポートして いる全てのシステムであると見なされている機能に対しては、autoconfテスト がない場合があります(訳注:不正確))。このような場合、サポートされなくなる 正確な状態(通常プリプロセッサのシンボル)の名前が書き加えられます。 .. At the same time, the Python source code must be changed to produce a build-time error if somebody tries to install Python on this platform. On platforms using autoconf, configure must fail. This gives potential users of the platform a chance to step forward and offer maintenance. 同時に、Pythonのソースコードは、誰かがそのプラットフォームにPythonをイ ンストールしようとした時にビルド時にエラーを出すように変更されます。 Autoconfを使っているプラットフォームでは、configureは失敗しなければなり ません。これにより、そのプラットフォームで使用する可能性があるユーザに、 そのプラットフォームの管理をしてもらうようになる機会を与えることになり ます。 .. Resupporting platforms 再度サポートされることになったプラットフォーム ------------------------------------------------------ .. If a user of a platform wants to see this platform supported again, he may volunteer to maintain the platform support. Such an offer must be recorded in the PEP, and the user can submit patches to remove the build-time errors, and perform any other maintenance work for the platform. もし、あるプラットフォームのユーザがもう一度サポートしてほしいと願った とき、そのユーザにはそのプラットフォームをサポートする管理者に志願して もらうことになるかもしれません。このような申し出は、PEPに記録される必要 があり、そして、そのユーザはビルド時のエラーを取り除くパッチの提出など、 そのプラットフォームの管理に関するさまざまなことができます。 .. No-longer-supported platforms もうサポートされていないプラットフォーム ------------------------------------------------------ | プラットフォーム名: MS-DOS, MS-Windows 3.x | サポート外に変更 : Python 2.0 | コードから削除 : Python 2.1 | | プラットフォーム名: SunOS 4 | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: DYNIX | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: dgux | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: Minix | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: Irix 4 and --with-sgi-dl | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: Linux 1 | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: __d6_pthread_create (configure.in)を定義しているシステム | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: Systems defining PY_PTHREAD_D4, PY_PTHREAD_D6, | or PY_PTHREAD_D7 in thread_pthread.h | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: Systems using --with-dl-dld | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: --without-universal-newlinesを使っているシステム | サポート外に変更 : Python 2.3 | コードから削除 : Python 2.4 | | プラットフォーム名: MacOS 9 | サポート外に変更 : Python 2.4 | コードから削除 : Python 2.4 | | プラットフォーム名: --with-wctype-functionsを使っているシステム | サポート外に変更 : Python 2.6 | コードから削除 : Python 2.6 | | プラットフォーム名: Win9x, WinME, NT4 | サポート外に変更 : Python 2.6 (warning in 2.5 installer) | コードから削除 : Python 2.6 | | プラットフォーム名: AtheOS | サポート外に変更 : Python 2.6 (with "AtheOS" changed to "Syllable") | ビルドに失敗 : Python 2.7 (edit configure to reenable) | コードから削除 : Python 3.0 | 詳細 : http://www.syllable.org/discussion.php?id=2320 | | プラットフォーム名: BeOS | サポート外に変更 : Python 2.6 (warning in configure) | ビルドに失敗 : Python 2.7 (edit configure to reenable) | コードから削除 : Python 3.0 | | プラットフォーム名: Mach C Threads を使っているシステム | サポート外に変更 : Python 3.2 | コードから削除 : Python 3.3 | | プラットフォーム名: SunOS lightweight processes (LWP) | サポート外に変更 : Python 3.2 | コードから削除 : Python 3.3 | | プラットフォーム名: --with-pth (GNU pth threads)を使っているシステム | サポート外に変更 : Python 3.2 | コードから削除 : Python 3.3 | | プラットフォーム名: Irix threadsを使っているシステム | サポート外に変更 : Python 3.2 | コードから削除 : Python 3.3 | | プラットフォーム名: OSF* systems (issue 8606) | サポート外に変更 : Python 3.2 | コードから削除 : Python 3.3 .. Platform Maintainers プラットフォーム管理者 ^^^^^^^^^^^^^^^^^^^^^^^^^^ - Cygwin - Jason Tishler (jason@tishler.net) - OS2/EMX - Andrew MacIntyre (andymac@bullseye.apana.org.au) そのうち書く(TBD) (訳注: TBDと原文に書かれています) .. Copyright 著作権 ------- .. This document has been placed in the public domain. このドキュメントはパブリック・ドメインに属します。 Local Variables: coding: utf-8 End: