Repository navigation
Use BSD0 license for code in docs #84064
Copy link
Copy link
Closed
Labels
3.10 (EOL)end of lifeend of life3.8 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc dirtype-featureA feature request or enhancementA feature request or enhancement
Description
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 = None
closed_at = <Date 2020-09-14.17:58:40.131>
created_at = <Date 2020-03-07.03:50:57.242>
labels = ['type-feature', '3.8', '3.9', '3.10', 'docs']
title = 'Use BSD0 license for code in docs'
updated_at = <Date 2020-09-14.17:58:40.130>
user = 'https://github.com/toddrjen'bugs.python.org fields:
activity = <Date 2020-09-14.17:58:40.130>
actor = 'gvanrossum'
assignee = 'docs@python'
closed = True
closed_date = <Date 2020-09-14.17:58:40.131>
closer = 'gvanrossum'
components = ['Documentation']
creation = <Date 2020-03-07.03:50:57.242>
creator = 'toddrjen'
dependencies = []
files = []
hgrepos = []
issue_num = 39883
keywords = ['patch']
message_count = 14.0
messages = ['363573', '364139', '364276', '364286', '376276', '376287', '376305', '376306', '376307', '376423', '376865', '376866', '376867', '376890']
nosy_count = 7.0
nosy_names = ['gvanrossum', 'terry.reedy', 'ned.deily', 'docs@python', 'bbayles', 'miss-islington', 'toddrjen']
pr_nums = ['17635', '22073', '22074', '22235', '22236', '22237']
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue39883'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.10 (EOL)end of lifeend of life3.8 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc dirtype-featureA feature request or enhancementA feature request or enhancement
Activity
toddrjen commentedon Mar 7, 2020
Currently using code examples and recipes from the documentation is complicated by the fact that they are all under the Python 2.0 license. Putting them under a more permissive license, particular the BSD0 license, would make them much easier to use in other projects.
terryjreedy commentedon Mar 14, 2020
What is the complication? The Python license is already rather permissive. Anyway, there is a name@mail.python.org address for trademark issues, listed on the site, and it might be appropriate for license legal questions also. Or this might be a question for discuss.python.org.
toddrjen commentedon Mar 16, 2020
Hi Terry,
Please take a look at the linked PR. This was already discussed on the python-ideas mailing list and Guido agreed this is a good idea. It is currently waiting on a PSF board decision. Guido requested I create a blurb, and that required a corresponding issue number, so I created this issue.
But to answer your question, the problem is incorporating code into an existing project. The whole point of examples and recipes is that they be used in other projects. But keeping them under the Python 2.0 license makes this hard, since it requires all the documentation keep that same license. So you can't use, say, an itertools recipe without keeping a separate license for that code, and some way to identify which code falls under that license.
terryjreedy commentedon Mar 16, 2020
OK. I looked at the PR. Normally, issue comes first, with justification and approval status.
gvanrossum commentedon Sep 3, 2020
FWIW the PSF board approved the change.
gvanrossum commentedon Sep 3, 2020
New changeset e223d06 by Todd in branch 'master':
bpo-39883: Use BSD0 license for code in docs (GH-17635)
e223d06
gvanrossum commentedon Sep 3, 2020
New changeset a5d0232 by Miss Islington (bot) in branch '3.9':
bpo-39883: Use BSD0 license for code in docs (GH-17635) (GH-22073)
a5d0232
gvanrossum commentedon Sep 3, 2020
New changeset 9fef7c5 by Miss Islington (bot) in branch '3.8':
bpo-39883: Use BSD0 license for code in docs (GH-17635) (GH-22074)
9fef7c5
gvanrossum commentedon Sep 3, 2020
Todd, you have a PR for the pydotorg repo as well, right? Can you link it here?
toddrjen commentedon Sep 5, 2020
The pull request is
python/python-docs-theme#36
It doesn't seem to went let me add it to linked pull requests.
ned-deily commentedon Sep 14, 2020
New changeset 7dbbea7 by Ned Deily in branch 'master':
bpo-39883: Update macOS installer copy of LICENSE. (GH-22235)
7dbbea7
miss-islington commentedon Sep 14, 2020
New changeset 3c618d0 by Miss Islington (bot) in branch '3.8':
bpo-39883: Update macOS installer copy of LICENSE. (GH-22235)
3c618d0
ned-deily commentedon Sep 14, 2020
New changeset bf7d4d0 by Miss Islington (bot) in branch '3.9':
bpo-39883: Update macOS installer copy of LICENSE. (GH-22235) (GH-22236)
bf7d4d0
gvanrossum commentedon Sep 14, 2020
This looks fully resolved. Thanks again Todd!