[Python-checkins] cpython (2.7): distutils 2.7’s Extension does not support optional (#13865).

eric.araujo python-checkins at python.org
Fri Feb 10 05:32:19 CET 2012


http://hg.python.org/cpython/rev/cf1c466ee9e0
changeset:   74858:cf1c466ee9e0
branch:      2.7
parent:      74847:0e050b38e92b
user:        Éric Araujo <merwok at netwok.org>
date:        Fri Feb 10 05:31:28 2012 +0100
summary:
  distutils 2.7’s Extension does not support optional (#13865).

Reported by Miki Tebeka.

files:
  Doc/distutils/apiref.rst      |  5 -----
  Doc/distutils/setupscript.rst |  4 ----
  2 files changed, 0 insertions(+), 9 deletions(-)


diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -261,11 +261,6 @@
    |                        | from the source extensions if  |                           |
    |                        | not provided.                  |                           |
    +------------------------+--------------------------------+---------------------------+
-   | *optional*             | specifies that a build failure | a boolean                 |
-   |                        | in the extension should not    |                           |
-   |                        | abort the build process, but   |                           |
-   |                        | simply skip the extension.     |                           |
-   +------------------------+--------------------------------+---------------------------+
 
 
 .. class:: Distribution
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst
--- a/Doc/distutils/setupscript.rst
+++ b/Doc/distutils/setupscript.rst
@@ -334,10 +334,6 @@
 
 There are still some other options which can be used to handle special cases.
 
-The :option:`optional` option is a boolean; if it is true,
-a build failure in the extension will not abort the build process, but
-instead simply not install the failing extension.
-
 The :option:`extra_objects` option is a list of object files to be passed to the
 linker. These files must not have extensions, as the default extension for the
 compiler is used.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list