Is a compiled python program a derivative of Python [closed]
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this questionIs a "compiled" python program (i.e. *.pyc file created by CPython) a derivative product of CPython? In other words, does one need to comply the Python license in all the programs he or she writes?
Disclaimer: I know that the answers here do not qualify as legal consultation.
No, from a licensing standpoint "derivative" applies to a modified version of the Python interpreter or its standard libraries, not to programs you write that run on the interpreter. It doesn't matter whether your programs are expressed as plain text or as compiled bytecode.
For comparison: bison is distributed under a modified version of the GPL because the code it generates does use some of the code distributed with bison.
Under a strict interpretation of the standard GPL all resulting code would be derivative. Since the intent was to allow people to use the output of these tools for any purpose the license had to be modified.
精彩评论