[New-bugs-announce] [issue13865] distutils documentation says Extension has "optional" argument

Miki Tebeka report at bugs.python.org
Wed Jan 25 22:04:53 CET 2012

New submission from Miki Tebeka <miki.tebeka at gmail.com>:

The Extension documentation says:

2.3.5. Other options
There are still some other options which can be used to handle special cases.

The 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.

However there not such option, and distutils will complain:

/usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'optional'

messages: 151974
nosy: tebeka
priority: normal
severity: normal
status: open
title: distutils documentation says Extension has "optional" argument

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list