Nadeem Vawda wrote: > I was wondering what the policy is regarding copyright notices and license > boilerplate text at the top of source files. > > I am currently rewriting the bz2 module (see > http://bugs.python.org/issue5863), > splitting the existing Modules/bz2module.c into Modules/_bz2module.c and > Lib/bz2.py. > > Are new files expected to include a copyright notice and/or license > boilerplate > text?
Since you'll be adding new IP to Python, the new code you write should contain your copyright and the standard PSF contributor agreement notice, e.g. """ (c) Copyright 2011 by Nadeem Vawda. Licensed to PSF under a Contributor Agreement. """ (please also make sure you have sent the signed agreement to the PSF; see http://www.python.org/psf/contrib/) We don't have a general copyright or license boiler plate for Python source files. > Also, is it necessary for _bz2module.c (new) to retain the copyright > notices from bz2module.c (old)? In the tracker issue, Antoine said he didn't > think so, but suggested that I get some additional opinions. If the file copies significant code parts from older files, the copyright notices from those files will have to added to the file comment as well - ideally with a note explaining to which parts those copyrights apply and where they originated. If you are replacing the old implementation with a new one, you don't need to copy over the old copyright statements. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Mar 21 2011) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com