Issue 13865: distutils documentation says Extension has "optional" argument (original) (raw)

Issue13865

Created on 2012-01-25 21:04 by tebeka, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg151974 - (view) Author: Miki Tebeka (tebeka) * Date: 2012-01-25 21:04
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'
msg152508 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-02-03 13:48
It was me who ported that doc change from 3.2, but distutils in 2.7 does not provide that feature. Thanks for catching it, I’ll revert the commit when I get the chance.
msg153022 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-02-10 04:32
New changeset cf1c466ee9e0 by Éric Araujo in branch '2.7': distutils 2.7’s Extension does not support optional (#13865). http://hg.python.org/cpython/rev/cf1c466ee9e0
msg153023 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-02-10 04:36
Fixed, cheers!
History
Date User Action Args
2022-04-11 14:57:26 admin set github: 58073
2012-02-10 04:36:23 eric.araujo set status: open -> closedresolution: fixedmessages: + stage: resolved
2012-02-10 04:32:26 python-dev set nosy: + python-devmessages: +
2012-02-03 13:49:01 eric.araujo set assignee: docs@python -> eric.araujo
2012-02-03 13:48:47 eric.araujo set nosy: + eric.araujomessages: +
2012-01-25 21:05:12 tebeka set assignee: docs@pythonnosy: + docs@pythoncomponents: + Documentationversions: + Python 2.7
2012-01-25 21:04:52 tebeka create