Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distutils documentation says Extension has "optional" argument #58073

Closed
tebeka mannequin opened this issue Jan 25, 2012 · 4 comments
Closed

distutils documentation says Extension has "optional" argument #58073

tebeka mannequin opened this issue Jan 25, 2012 · 4 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@tebeka
Copy link
Mannequin

tebeka mannequin commented Jan 25, 2012

BPO 13865
Nosy @tebeka, @merwok

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/merwok'
closed_at = <Date 2012-02-10.04:36:23.372>
created_at = <Date 2012-01-25.21:04:52.877>
labels = ['docs']
title = 'distutils documentation says Extension has "optional" argument'
updated_at = <Date 2012-02-10.04:36:23.371>
user = 'https://github.com/tebeka'

bugs.python.org fields:

activity = <Date 2012-02-10.04:36:23.371>
actor = 'eric.araujo'
assignee = 'eric.araujo'
closed = True
closed_date = <Date 2012-02-10.04:36:23.372>
closer = 'eric.araujo'
components = ['Documentation']
creation = <Date 2012-01-25.21:04:52.877>
creator = 'tebeka'
dependencies = []
files = []
hgrepos = []
issue_num = 13865
keywords = []
message_count = 4.0
messages = ['151974', '152508', '153022', '153023']
nosy_count = 4.0
nosy_names = ['tebeka', 'eric.araujo', 'docs@python', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue13865'
versions = ['Python 2.7']

@tebeka
Copy link
Mannequin Author

tebeka mannequin commented Jan 25, 2012

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'

@tebeka tebeka mannequin added the docs Documentation in the Doc dir label Jan 25, 2012
@tebeka tebeka mannequin assigned docspython Jan 25, 2012
@merwok
Copy link
Member

merwok commented Feb 3, 2012

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.

@merwok merwok assigned merwok and unassigned docspython Feb 3, 2012
@python-dev
Copy link
Mannequin

python-dev mannequin commented Feb 10, 2012

New changeset cf1c466ee9e0 by Éric Araujo in branch '2.7':
distutils 2.7’s Extension does not support optional (bpo-13865).
http://hg.python.org/cpython/rev/cf1c466ee9e0

@merwok
Copy link
Member

merwok commented Feb 10, 2012

Fixed, cheers!

@merwok merwok closed this as completed Feb 10, 2012
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant