From 5a6601cfc63a7b4fe2caf05a0116022ab76b64e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 10 Nov 2004 22:23:15 +0000 Subject: [PATCH] Update compatibility comments to 2.1, corresponding to PEP 291 1.13. --- Lib/distutils/__init__.py | 2 +- Lib/distutils/archive_util.py | 2 +- Lib/distutils/bcppcompiler.py | 2 +- Lib/distutils/ccompiler.py | 2 +- Lib/distutils/cmd.py | 2 +- Lib/distutils/command/__init__.py | 2 +- Lib/distutils/command/bdist.py | 2 +- Lib/distutils/command/bdist_dumb.py | 2 +- Lib/distutils/command/bdist_rpm.py | 2 +- Lib/distutils/command/bdist_wininst.py | 2 +- Lib/distutils/command/build.py | 2 +- Lib/distutils/command/build_clib.py | 2 +- Lib/distutils/command/build_ext.py | 2 +- Lib/distutils/command/build_py.py | 2 +- Lib/distutils/command/build_scripts.py | 2 +- Lib/distutils/command/clean.py | 2 +- Lib/distutils/command/config.py | 2 +- Lib/distutils/command/install.py | 2 +- Lib/distutils/command/install_data.py | 2 +- Lib/distutils/command/install_headers.py | 2 +- Lib/distutils/command/install_lib.py | 2 +- Lib/distutils/command/install_scripts.py | 2 +- Lib/distutils/command/sdist.py | 2 +- Lib/distutils/core.py | 2 +- Lib/distutils/cygwinccompiler.py | 2 +- Lib/distutils/debug.py | 2 +- Lib/distutils/dep_util.py | 2 +- Lib/distutils/dir_util.py | 2 +- Lib/distutils/dist.py | 2 +- Lib/distutils/errors.py | 2 +- Lib/distutils/fancy_getopt.py | 2 +- Lib/distutils/file_util.py | 2 +- Lib/distutils/filelist.py | 2 +- Lib/distutils/log.py | 2 +- Lib/distutils/msvccompiler.py | 2 +- Lib/distutils/mwerkscompiler.py | 2 +- Lib/distutils/spawn.py | 2 +- 37 files changed, 37 insertions(+), 37 deletions(-) diff --git a/Lib/distutils/__init__.py b/Lib/distutils/__init__.py index 2592a6c559..a1dbb4b5ef 100644 --- a/Lib/distutils/__init__.py +++ b/Lib/distutils/__init__.py @@ -8,7 +8,7 @@ used from a setup script as setup (...) """ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/archive_util.py b/Lib/distutils/archive_util.py index 55babe6fc6..6aa5e635d7 100644 --- a/Lib/distutils/archive_util.py +++ b/Lib/distutils/archive_util.py @@ -3,7 +3,7 @@ Utility functions for creating archive files (tarballs, zip files, that sort of thing).""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/bcppcompiler.py b/Lib/distutils/bcppcompiler.py index f995e36711..ca524a5b88 100644 --- a/Lib/distutils/bcppcompiler.py +++ b/Lib/distutils/bcppcompiler.py @@ -11,7 +11,7 @@ for the Borland C++ compiler. # someone should sit down and factor out the common code as # WindowsCCompiler! --GPW -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index e5b9d7cc11..6dad757a6a 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -3,7 +3,7 @@ Contains CCompiler, an abstract base class that defines the interface for the Distutils compiler abstraction model.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index be8e826fdb..3cd5858920 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -4,7 +4,7 @@ Provides the Command class, the base class for the command classes in the distutils.command package. """ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/__init__.py b/Lib/distutils/command/__init__.py index 870005dca7..0888c2712b 100644 --- a/Lib/distutils/command/__init__.py +++ b/Lib/distutils/command/__init__.py @@ -3,7 +3,7 @@ Package containing implementation of all the standard Distutils commands.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/bdist.py b/Lib/distutils/command/bdist.py index 4eca9c3426..23c25a55a8 100644 --- a/Lib/distutils/command/bdist.py +++ b/Lib/distutils/command/bdist.py @@ -3,7 +3,7 @@ Implements the Distutils 'bdist' command (create a built [binary] distribution).""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/bdist_dumb.py b/Lib/distutils/command/bdist_dumb.py index 3db332d5bd..7f498c8396 100644 --- a/Lib/distutils/command/bdist_dumb.py +++ b/Lib/distutils/command/bdist_dumb.py @@ -4,7 +4,7 @@ Implements the Distutils 'bdist_dumb' command (create a "dumb" built distribution -- i.e., just an archive to be unpacked under $prefix or $exec_prefix).""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index 7f1b440e05..8eaaff3246 100644 --- a/Lib/distutils/command/bdist_rpm.py +++ b/Lib/distutils/command/bdist_rpm.py @@ -3,7 +3,7 @@ Implements the Distutils 'bdist_rpm' command (create RPM source and binary distributions).""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py index f4bab62ae3..9b45cf35e8 100644 --- a/Lib/distutils/command/bdist_wininst.py +++ b/Lib/distutils/command/bdist_wininst.py @@ -3,7 +3,7 @@ Implements the Distutils 'bdist_wininst' command: create a windows installer exe-program.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py index e6b3991f15..9ae0a292a3 100644 --- a/Lib/distutils/command/build.py +++ b/Lib/distutils/command/build.py @@ -2,7 +2,7 @@ Implements the Distutils 'build' command.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/build_clib.py b/Lib/distutils/command/build_clib.py index ef03ed7269..69d8c75166 100644 --- a/Lib/distutils/command/build_clib.py +++ b/Lib/distutils/command/build_clib.py @@ -4,7 +4,7 @@ Implements the Distutils 'build_clib' command, to build a C/C++ library that is included in the module distribution and needed by an extension module.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 07614c6a0d..4191c76cef 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -4,7 +4,7 @@ Implements the Distutils 'build_ext' command, for building extension modules (currently limited to C extensions, should accommodate C++ extensions ASAP).""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index 3079bfcdef..621bcb4af3 100644 --- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -2,7 +2,7 @@ Implements the Distutils 'build_py' command.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py index fb73719f57..bda4480ca5 100644 --- a/Lib/distutils/command/build_scripts.py +++ b/Lib/distutils/command/build_scripts.py @@ -2,7 +2,7 @@ Implements the Distutils 'build_scripts' command.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/clean.py b/Lib/distutils/command/clean.py index 41b22777bc..1844ffefd3 100644 --- a/Lib/distutils/command/clean.py +++ b/Lib/distutils/command/clean.py @@ -4,7 +4,7 @@ Implements the Distutils 'clean' command.""" # contributed by Bastian Kleineidam , added 2000-03-18 -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index f18c79ff43..520c1b0c76 100644 --- a/Lib/distutils/command/config.py +++ b/Lib/distutils/command/config.py @@ -9,7 +9,7 @@ configure-like tasks: "try to compile this C code", or "figure out where this header file lives". """ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 2aaf010562..fdbec35872 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -4,7 +4,7 @@ Implements the Distutils 'install' command.""" from distutils import log -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/install_data.py b/Lib/distutils/command/install_data.py index 2fa0da29fe..1069830fb3 100644 --- a/Lib/distutils/command/install_data.py +++ b/Lib/distutils/command/install_data.py @@ -5,7 +5,7 @@ platform-independent data files.""" # contributed by Bastian Kleineidam -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/install_headers.py b/Lib/distutils/command/install_headers.py index 3a37d309f9..2bd1b04367 100644 --- a/Lib/distutils/command/install_headers.py +++ b/Lib/distutils/command/install_headers.py @@ -3,7 +3,7 @@ Implements the Distutils 'install_headers' command, to install C/C++ header files to the Python include directory.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py index c234117adc..22d0ab37a7 100644 --- a/Lib/distutils/command/install_lib.py +++ b/Lib/distutils/command/install_lib.py @@ -1,4 +1,4 @@ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/install_scripts.py b/Lib/distutils/command/install_scripts.py index abe10457b6..fe93ef5af2 100644 --- a/Lib/distutils/command/install_scripts.py +++ b/Lib/distutils/command/install_scripts.py @@ -5,7 +5,7 @@ Python scripts.""" # contributed by Bastian Kleineidam -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py index 7021496549..fe6c913913 100644 --- a/Lib/distutils/command/sdist.py +++ b/Lib/distutils/command/sdist.py @@ -2,7 +2,7 @@ Implements the Distutils 'sdist' command (create a source distribution).""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 8c82801051..eba94559d9 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -6,7 +6,7 @@ indirectly provides the Distribution and Command classes, although they are really defined in distutils.dist and distutils.cmd. """ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py index 31e8e3492f..4fd23e6dc6 100644 --- a/Lib/distutils/cygwinccompiler.py +++ b/Lib/distutils/cygwinccompiler.py @@ -45,7 +45,7 @@ cygwin in no-cygwin mode). # * mingw gcc 3.2/ld 2.13 works # (ld supports -shared) -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/debug.py b/Lib/distutils/debug.py index 2a87eb5d28..b67139c7d4 100644 --- a/Lib/distutils/debug.py +++ b/Lib/distutils/debug.py @@ -1,6 +1,6 @@ import os -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/dep_util.py b/Lib/distutils/dep_util.py index 0746633d23..c139c852e4 100644 --- a/Lib/distutils/dep_util.py +++ b/Lib/distutils/dep_util.py @@ -4,7 +4,7 @@ Utility functions for simple, timestamp-based dependency of files and groups of files; also, function based entirely on such timestamp dependency analysis.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/dir_util.py b/Lib/distutils/dir_util.py index 77f64c4104..7f1450373b 100644 --- a/Lib/distutils/dir_util.py +++ b/Lib/distutils/dir_util.py @@ -2,7 +2,7 @@ Utility functions for manipulating directories and directory trees.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 1a39022fd8..9eb2aa424c 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py @@ -4,7 +4,7 @@ Provides the Distribution class, which represents the module distribution being built/installed/distributed. """ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/errors.py b/Lib/distutils/errors.py index 94e83fb557..e72221bdba 100644 --- a/Lib/distutils/errors.py +++ b/Lib/distutils/errors.py @@ -8,7 +8,7 @@ usually raised for errors that are obviously the end-user's fault This module is safe to use in "from ... import *" mode; it only exports symbols whose names start with "Distutils" and end with "Error".""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py index 6c1134fc40..218ed73f98 100644 --- a/Lib/distutils/fancy_getopt.py +++ b/Lib/distutils/fancy_getopt.py @@ -8,7 +8,7 @@ additional features: * options set attributes of a passed-in object """ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/file_util.py b/Lib/distutils/file_util.py index e2b1c51558..37b152ed8a 100644 --- a/Lib/distutils/file_util.py +++ b/Lib/distutils/file_util.py @@ -3,7 +3,7 @@ Utility functions for operating on single files. """ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/filelist.py b/Lib/distutils/filelist.py index 566d87ab28..43f9aaaf5b 100644 --- a/Lib/distutils/filelist.py +++ b/Lib/distutils/filelist.py @@ -4,7 +4,7 @@ Provides the FileList class, used for poking about the filesystem and building lists of files. """ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/log.py b/Lib/distutils/log.py index bf26302fcc..cf3ee136e0 100644 --- a/Lib/distutils/log.py +++ b/Lib/distutils/log.py @@ -1,6 +1,6 @@ """A simple log mechanism styled after PEP 282.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. # The class here is styled after PEP 282 so that it could later be # replaced with a standard Python logging implementation. diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index ab92801c2b..dd9d8928ad 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -8,7 +8,7 @@ for the Microsoft Visual Studio. # hacked by Robin Becker and Thomas Heller to do a better job of # finding DevStudio (through the registry) -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/mwerkscompiler.py b/Lib/distutils/mwerkscompiler.py index d546de1f25..0de123d9e9 100644 --- a/Lib/distutils/mwerkscompiler.py +++ b/Lib/distutils/mwerkscompiler.py @@ -4,7 +4,7 @@ Contains MWerksCompiler, an implementation of the abstract CCompiler class for MetroWerks CodeWarrior on the Macintosh. Needs work to support CW on Windows.""" -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" diff --git a/Lib/distutils/spawn.py b/Lib/distutils/spawn.py index a89b88cebf..e5654ff009 100644 --- a/Lib/distutils/spawn.py +++ b/Lib/distutils/spawn.py @@ -6,7 +6,7 @@ Also provides the 'find_executable()' to search the path for a given executable name. """ -# This module should be kept compatible with Python 1.5.2. +# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" -- 2.40.0