This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Inappropriate copyright on profile files
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Paul.Hildebrandt, barry, eric.araujo, python-dev
Priority: normal Keywords: patch

Created on 2011-06-27 07:31 by Paul.Hildebrandt, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
WDAS.patch Paul.Hildebrandt, 2011-06-27 07:41 review
profile-free-followup.diff eric.araujo, 2011-07-12 13:58 review
Messages (13)
msg139240 - (view) Author: Paul Hildebrandt (Paul.Hildebrandt) Date: 2011-06-27 07:31
profile.py and pstats.py have an inappropriate copyright for some.  These files were contributed by a company that was acquired by Disney.  I have a patch that has passed Disney legal to resolve the problem.

The following is the cogent part of a conversation between Matthias Klose and myself.  He is including information about the issue:

 http://mail.python.org/pipermail/python-dev/2005-February/051450.html

"""
The current license for the Python profiler is not conforming to the
DFSG
(Debian free software guidelines).

http://www.python.org/doc/current/lib/node829.html states

 "This permission is explicitly restricted to the copying and
 modification of the software to remain in Python, compiled Python,
 or other languages (such as C) wherein the modified or derived code
 is exclusively imported into a Python module."

The DFSG,
http://www.debian.org/doc/debian-policy/ch-archive.html#s-dfsg,
third paragraph state:

 "Derived Works
   The license must allow modifications and derived works, and must
   allow them to be distributed under the same terms as the license
   of the original software."

- Does somebody knows about the history of this license, why it is
 more restricted than the Python license?
- Is there a chance to change the license for these two modules
 (profile.py, pstats.py)?
"""
msg139242 - (view) Author: Paul Hildebrandt (Paul.Hildebrandt) Date: 2011-06-27 07:41
This is the patch. It was created with

hg diff >WDAS.patch

at the root of the hg repository.  

This patch is just a comment change and should apply to versions of Python currently being update.
msg139279 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-06-27 14:19
New changeset 55219254eb77 by Benjamin Peterson in branch '2.7':
update profile license (closes #12417)
http://hg.python.org/cpython/rev/55219254eb77

New changeset e50963c3119d by Benjamin Peterson in branch '3.2':
update profile license (closes #12417)
http://hg.python.org/cpython/rev/e50963c3119d

New changeset 5ae1711d9c19 by Benjamin Peterson in branch 'default':
merge 3.2 (#12417)
http://hg.python.org/cpython/rev/5ae1711d9c19
msg139281 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-27 14:21
Great news for Debian users!  Thanks to all involved.
msg139377 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2011-06-28 21:15
I think we should apply this to earlier applicable versions too.  I would accept this change for Python 2.6.
msg139389 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-06-29 02:57
New changeset 02150e60636b by Benjamin Peterson in branch '2.6':
update profile license (closes #12417)
http://hg.python.org/cpython/rev/02150e60636b

New changeset 633597815463 by Benjamin Peterson in branch '3.1':
update profile license (closes #12417)
http://hg.python.org/cpython/rev/633597815463
msg139396 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2011-06-29 06:51
Thanks Benjamin!
msg140192 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-12 13:57
The former license was also present in the reST documentation.  Attached patch removes it, and also cleans up two lines: it removes a comment that duplicates a docstring, and removes the docstring from profile that you added to pstats :)
msg140202 - (view) Author: Paul Hildebrandt (Paul.Hildebrandt) Date: 2011-07-12 15:29
Good catch, thanks Eric!  You are a wonderful human being.
msg140427 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-15 15:53
I don’t have clones of 2.6 and 3.1, so Benjamin, would you commit this?
msg141347 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-07-29 12:35
New changeset 1b3c21b12e92 by Éric Araujo in branch '3.1':
Remove mentions of previous license in profile module docs (#12417 followup).
http://hg.python.org/cpython/rev/1b3c21b12e92

New changeset 0fbc56b53848 by Éric Araujo in branch '3.2':
Merge profile docs followup (#12417) from 3.1
http://hg.python.org/cpython/rev/0fbc56b53848
msg141357 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-07-29 12:37
New changeset b9a95ce2692c by Éric Araujo in branch '2.6':
Remove mentions of previous license in profile module (#12417 followup)
http://hg.python.org/cpython/rev/b9a95ce2692c

New changeset 25a496966ecf by Éric Araujo in branch '2.7':
Merge #12417 followup, also removing an extra docstring
http://hg.python.org/cpython/rev/25a496966ecf
msg141366 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-29 12:51
Of course, I had all 2.6 and 3.1 changesets in my existing clones :)  I committed my patch to all branches.
History
Date User Action Args
2022-04-11 14:57:19adminsetgithub: 56626
2011-07-29 12:51:24eric.araujosetstatus: open -> closed

messages: + msg141366
2011-07-29 12:37:59python-devsetmessages: + msg141357
2011-07-29 12:35:16python-devsetmessages: + msg141347
2011-07-15 15:53:52eric.araujosetstatus: closed -> open

messages: + msg140427
2011-07-12 15:29:13Paul.Hildebrandtsetmessages: + msg140202
2011-07-12 13:58:02eric.araujosetfiles: + profile-free-followup.diff
2011-07-12 13:57:52eric.araujosetmessages: + msg140192
2011-06-29 06:51:42barrysetmessages: + msg139396
2011-06-29 02:57:30python-devsetmessages: + msg139389
2011-06-28 21:15:03barrysetnosy: + barry
messages: + msg139377
2011-06-27 14:21:36eric.araujosetnosy: + eric.araujo

messages: + msg139281
versions: - Python 2.6, Python 3.1, Python 3.4
2011-06-27 14:19:11python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg139279

stage: resolved
2011-06-27 07:41:31Paul.Hildebrandtsetfiles: + WDAS.patch
versions: + Python 2.6, Python 3.1, Python 2.7, Python 3.2, Python 3.3, Python 3.4
messages: + msg139242

keywords: + patch
resolution: fixed
2011-06-27 07:31:42Paul.Hildebrandtcreate