Am 16.11.09 16:51, schrieb Tres Seaver:
Martijn Faassen wrote:
exarkun@twistedmatrix.com wrote:
Hi,
I've just contributed a patch to CPython adding os.initgroups based on this extension module:
http://svn.zope.org/Zope/trunk/src/initgroups/
The CPython ticket is here:
http://bugs.python.org/issue7333
I don't think there should be any licensing issues, as the ZPL is pretty permissive and the code is very short. However, if there are, could the code in question be relicensed for CPython under the Python license?
I've passed this question along to the Zope Foundation.
IMO, there isn't really much of anything "protectable" in that module: it is a micro-thin wrapper around a libc syscall. If I sat down to write the module from scratch, I bet I would come within a negligable diff (whitespace, ordering of #includes, etc.) of the same code.
Just for belt-and-suspeders: as a ZF board member, I would certainly vote to contribute the code to Python. Same here - discussing about this issue takes longer than writing the code from scratch :)
Andreas