Hi,
https://github.com/nodeca/argparse is a JavaScript port of CPython's Lib/argparse.py. It carries CPython's full license stack, which a Fedora packager ran into: https://github.com/nodeca/argparse/pull/188
argparse was added to CPython in 2010 under the PSF Contributor Agreement, so none of the ported code comes from the CWI, CNRI or BeOpen eras.
Can the port be licensed as PSF-2.0 alone, or does CPython-derived code have to carry the whole stack?
Thanks, Vitaly Puzrin
On Tue, Aug 18, 2026 at 12:38 PM Vitaly via legal legal@lists.fedoraproject.org wrote:
Hi,
https://github.com/nodeca/argparse is a JavaScript port of CPython's Lib/argparse.py. It carries CPython's full license stack, which a Fedora packager ran into: https://github.com/nodeca/argparse/pull/188
argparse was added to CPython in 2010 under the PSF Contributor Agreement, so none of the ported code comes from the CWI, CNRI or BeOpen eras.
Can the port be licensed as PSF-2.0 alone, or does CPython-derived code have to carry the whole stack?
I've responded upstream: https://github.com/nodeca/argparse/pull/188#issuecomment-5331438349
Richard