Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47409

Re-using copyrighted code

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'package,': 0.03; 'open-source': 0.04; 'that?': 0.05; 'expressions': 0.07; 'modified': 0.07; 'subject:code': 0.07; 'portions': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'referenced': 0.09; 'release.': 0.09; 'subject:using': 0.09; 'python': 0.11; 'archive': 0.14; 'header:': 0.16; 'license.': 0.16; 'pypi.': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'funding': 0.16; 'charset:iso-8859-15': 0.16; 'library': 0.18; 'written': 0.21; 'header:User-Agent:1': 0.23; 'versions': 0.24; 'software.': 0.24; 'header:X-Complaints-To:1': 0.27; 'leave': 0.29; '(c)': 0.29; 'errors': 0.30; 'matching': 0.30; 'work.': 0.31; 'code': 0.31; 'question:': 0.31; 'file': 0.32; 'supposed': 0.32; 'interface': 0.32; 'regular': 0.32; 'convert': 0.35; 'but': 0.35; 'add': 0.35; 'version': 0.36; 'url:downloads': 0.36; 'url:org': 0.36; 'integration': 0.37; 'to:addr:python-list': 0.38; 'that,': 0.38; 'aspects': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'expression': 0.60; 'information': 0.63; 'developed': 0.63; 'kind': 0.63; 'more': 0.64; 'contact': 0.67; 'reserved.': 0.68; 'legal': 0.71; 'received:93': 0.72; 'secret': 0.74; '1.6': 0.84; 'ab.': 0.84; 'url:zip': 0.84; 'cooperation': 0.96
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Malte Forkel <malte.forkel@berlin.de>
Subject Re-using copyrighted code
Date Sat, 08 Jun 2013 23:31:10 +0200
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-15
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host p5ddb2b3a.dip0.t-ipconnect.de
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2897.1370727082.3114.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1370727082 news.xs4all.nl 15899 [2001:888:2000:d::a6]:33405
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:47409

Show key headers only | View raw


Hello,

I have written a small utility to locate errors in regular expressions
that I want to upload to PyPI.  Before I do that, I would like to learn
a litte more about the legal aspects of open-source software. What would
be a good introductory reading?

Plus, I have one very specific question: In my package, I use modified
code from sre_parse.py, which is part of the Python release. That file
has the following header:

#
# Secret Labs' Regular Expression Engine
#
# convert re-style regular expression to sre pattern
#
# Copyright (c) 1998-2001 by Secret Labs AB.  All rights reserved.
#
# See the sre.py file for information on usage and redistribution.
#

The referenced information is missing in the version of sre.py that
comes with current versions of Python, but I found it in the archive
http://effbot.org/media/downloads/sre-2.2.1.zip. It reads:

#
# Secret Labs' Regular Expression Engine
#
# re-compatible interface for the sre matching engine
#
# Copyright (c) 1998-2001 by Secret Labs AB.  All rights reserved.
#
# This version of the SRE library can be redistributed under CNRI's
# Python 1.6 license.  For any other use, please contact Secret Labs
# AB (info@pythonware.com).
#
# Portions of this engine have been developed in cooperation with
# CNRI.  Hewlett-Packard provided funding for 1.6 integration and
# other compatibility work.
#

Now, how am I supposed to deal with that? Ask Secret Labs for some kind
of permission? Leave it as it is and add my own copyright line?

Malte

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re-using copyrighted code Malte Forkel <malte.forkel@berlin.de> - 2013-06-08 23:31 +0200
  Re: Re-using copyrighted code Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-09 04:25 +0000
  Re: Re-using copyrighted code Kevin Walzer <kw@codebykevin.com> - 2013-06-09 09:32 -0400

csiph-web