bpo-39883: Use BSD0 license for code in docs by toddrjen · Pull Request #17635 · python/cpython
NOTE Please do not accept this pull request. It needs to be discussed and approved by the PSF board. (UPDATE: The PSF board approved it. We are going ahead.)
On the Python-ideas mailing list, we discussed making the code in the documentation under a more permissive license to make it easier for people to re-use it. Specifically, the idea is to use the BSD zero clause license to remove essentially all restrictions on the use of that code.
Guido van Rossum liked the idea, so per his request I am submitting a pull request as the first stage in getting this change potentially implemented. I will then submit this pull request, and the accompanying pull request python/python-docs-theme#36, to the PSF board for discussion. It will also likely need a review by a lawyer.
This specific request adds additional information on what, specifically, the current license is, the part about code in the documentation being under the 0BSD license, the text of the 0BSD license, and a bit about other parts being under other licenses (I am particularly unsure that the last part should be in there at all).
The current format will likely change substantially, and changes to the CPython side may not end up being necessary. Guido seemed to think that simply a blurb in the online documentation footer may be sufficient. The code that generates the footer is in the python/python-docs-theme project and the change has been submitted there in pull request python/python-docs-theme#36.
Comments are appreciated.
Edit: Added information about additional pull request.