[New-bugs-announce] [issue43391] The comments have invalid license information (broken Python 2.4 URL for Python 3)

Jake Gustafson report at bugs.python.org
Wed Mar 3 14:59:50 EST 2021


New submission from Jake Gustafson <tertiary at expertmultimedia.com>:

Steps to reproduce the issue:
- Run Python 3.7.3 (or later, possibly) with the following code:

    import subprocess
    import inspect
    with open("subprocess-py3.py", 'w') as outs:
        outs.write(inspect.getsource(subprocess).replace("\\n","\n"))

The resulting ./subprocess-py3.py contains the source code for subprocess including:

# Copyright (c) 2003-2005 by Peter Astrand <astrand at lysator.liu.se>
#
# Licensed to PSF under a Contributor Agreement.
# See http://www.python.org/2.4/license for licensing details.

However, the URL is broken, and whatever code Peter Astrand developed may be long gone--I'll leave it up to the devs to determine the correct license, but the link is broken and the code is significantly different even than Python 2.4's.

----------
assignee: docs at python
components: Documentation
messages: 388049
nosy: docs at python, poikilos
priority: normal
severity: normal
status: open
title: The comments have invalid license information (broken Python 2.4 URL for Python 3)
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43391>
_______________________________________


More information about the New-bugs-announce mailing list