osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] (Licensing question) backport of shutil.copyfile() functionality


On 3/11/2019 4:35 PM, Giampaolo Rodola' wrote:
> Hello,
> some time ago I contributed a couple of patches to speedup 
> shutil.copy*() functions:
> https://bugs.python.org/issue33671
> https://bugs.python.org/issue33695
> I would like to backport both functionalities so that they can be used 
> on Python 2.7 and <3.8 and put it on PYPI. In order to do so I will 
> basically have to copy some parts of shutil module (copytree() 
> function + the unit-tests I added in BPO-33671 and a couple of other 
> things). Are there constraints regarding this in terms of license? Am 
> I supposed to use GPL? (I was thinking about using MIT)
>
> Note: in this package called "zerocopy" I will probably want to expose 
> other functionalities such as tee(), splice() and CopyFileEx and 
> TransmitFile on Windows, so it's probably gonna be half a backport and 
> half a brand new project.
>
> Thanks.

Thanks for the contributions. I don't know about the licensing.

I wonder if you should make two packages, though... one just exactly a 
backport of the shutil speedups, and the second containing the new 
functionalities.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190311/dd7b7ffa/attachment.html>