The curses module and licensing

Alister alister.ware at ntlworld.com
Thu Dec 6 20:28:55 CET 2012


On Thu, 06 Dec 2012 19:34:04 +0100, benjamin schnitzler wrote:

> I think I have accidentially not sent this to the python list:
> 
> On 02:17 Fri 07 Dec     , Chris Angelico wrote:
>> Hi!
>>
>> Here's some info on ncurses:
>>
>> http://invisible-island.net/ncurses/ncurses.faq.html
>>
>> I would generally assume that it's safe to use any Python standard
>> library module without worrying about what license its underlying
>> library/ies are distributed under - because I trust the Python core
>> developers to ensure that they're creating a product that's not bound
>> by unexpected license terms. But you'll probably get an on-list
>> response with more detail.
>>
>> Chris Angelico
> Thanks for your answer. I guess you're right. It's just, that I never
> really worked for a project where I got into license issues. (At least I
> think so.) And I am not really used to it.
> The FAQ states:
> 
> "Permission is hereby granted, free of charge, to any person obtaining a
> copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use,
> copy, modify, merge, publish, distribute, distribute with modifications,
> sublicense, and/or sell copies of the Software,
> and to permit persons to whom the Software is furnished to do so,
> subject to the following conditions:
> The above copyright notice and this permission notice shall be included
> in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
> IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
> DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
> OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
> THE USE OR OTHER DEALINGS IN THE SOFTWARE.
> 
> Except as contained in this notice, the name(s) of the above copyright
> holders shall not be used in advertising or otherwise to promote the
> sale, use or other dealings in this Software without prior written
> authorization."
> 
> "...to deal in the Software without restriction..."
> "...distribute, distribute with modifications, sublicense..."
> 
> Sounds good. Ok, but I have to include this into all "copies or
> substantial portions of the Software" . Ok, thats a bit vague.
> And if I include this notice into my files: It sounds a bit, as if this
> would be then a copyright for them.
> Substantial portions are, I guess, the libraries themselves.
> Which are other substantial portions? Those files which extend the
> libraries maybe? I looked into the files of my /usr/lib/python2.7/curses
> directory. None of them had this text portion from above included. On
> the other hand the FAQ also states that the Free Software Foundation,
> who got hold of the copyright, had promised to use the above
> distribution terms only for 5 years, which was in 1998, so it might not
> be relevant at all. Well ok. I guess I can just leave my files, as they
> are,
> since they are no real extensions of the library. But I am not
> completely sure. If anyone has a better idea: Just let me know it.
> 
> Benjamin
> 
> 
> On Thu, Dec 6, 2012 at 4:02 PM, Benjamin Schnitzler <
> benjaminschnitzler at googlemail.com> wrote:
> 
>> Hello everyone,
>>
>> I am new to this list.
>> I have a question concerning the curses module (I am using python2.7).
>> Which license does this module have? Is it bases completely on the
>> curses library? In the documentation the following is stated:
>>
>> "The curses module provides an interface to the curses library,
>> the de-facto standard for portable advanced terminal handling."
>>
>> But also:
>>
>> "Changed in version 1.6: Added support for the ncurses library and
>> converted to a package."
>>
>> Is it maybe built on both libraries? However, the crucial point is,
>> that I want to build a curses terminal interface for some GPL software
>> project. Can You give me a hint, if that is possible (yes, I know, You
>> are no lawyers) and if and where I have to include licensing
>> informations regarding the license of curses/ncurses ?
>>
>> Thank You
>>
>> Benjamin
>>
> <div>I think I have accidentially not sent this to the python
> list:</div><div><br></div><div>On 02:17 Fri 07 Dec     , Chris Angelico
> wrote:</div><div>> Hi!</div><div>> </div><div>> Here's some
> info on ncurses:</div>
> <div>> </div><div>> <a
> href="http://invisible-island.net/ncurses/ncurses.faq.html">http://
invisible-island.net/ncurses/ncurses.faq.html</a></div><div>> </
div><div>>
> I would generally assume that it's safe to use any Python
> standard</div>
> <div>> library module without worrying about what license its
> underlying</div><div>> library/ies are distributed under - because I
> trust the Python core</div><div>> developers to ensure that
> they're creating a product that's not bound</div>
> <div>> by unexpected license terms. But you'll probably get an
> on-list</div><div>> response with more
> detail.</div><div>> </div><div>> Chris Angelico</div><div>Thanks
> for your answer. I guess you're right. It's just, that I</div>
> <div>never really worked for a project where I got into
> license</div><div>issues. (At least I think so.) And I am not really
> used to it.</div><div>The FAQ
> states:</div><div><br></div><div>"Permission is hereby granted,
> free of charge, to any person</div>
> <div>obtaining a copy of this software and associated
> documentation</div><div>files (the "Software"), to deal in the
> Software without</div><div>restriction, including without limitation the
> rights to use,</div><div>
> copy, modify, merge, publish, distribute, distribute
> with</div><div>modifications, sublicense, and/or sell copies of the
> Software,</div><div>and to permit persons to whom the Software is
> furnished to do so,</div><div>subject to the following conditions:</div>
> <div>The above copyright notice and this permission notice shall
> be</div><div>included in all copies or substantial portions of the
> Software.</div><div><br></div><div>THE SOFTWARE IS PROVIDED "AS
> IS", WITHOUT WARRANTY OF ANY KIND,</div>
> <div>EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
> WARRANTIES</div><div>OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
> PURPOSE AND</div><div>NONINFRINGEMENT. IN NO EVENT SHALL THE ABOVE
> COPYRIGHT HOLDERS BE</div><div>
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
> AN</div><div>ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
> OR IN</div><div>CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
> DEALINGS IN THE</div><div>
> SOFTWARE.</div><div><br></div><div>Except as contained in this notice,
> the name(s) of the above</div><div>copyright holders shall not be used
> in advertising or otherwise</div><div>to promote the sale, use or other
> dealings in this Software</div>
> <div>without prior written
> authorization."</div><div><br></div><div>"...to deal in the
> Software without restriction..."</div><div>"...distribute,
> distribute with modifications, sublicense..."</div>
> <div><br></div><div>Sounds good. Ok, but I have to include this into all
> "copies or</div><div>substantial portions of the Software" .
> Ok, thats a bit vague.</div><div>And if I include this notice into my
> files: It sounds a bit, as</div>
> <div>if this would be then a copyright for them.</div><div>Substantial
> portions are, I guess, the libraries themselves.</div><div>Which are
> other substantial portions? Those files which extend</div><div>the
> libraries maybe? I looked into the files of my </div>
> <div>/usr/lib/python2.7/curses directory. None of them had this
> text</div><div>portion from above included. On the other hand the FAQ
> also</div><div>states that the Free Software Foundation, who got hold of
> the</div><div>
> copyright, had promised to use the above distribution terms
> only</div><div>for 5 years, which was in 1998, so it might not be
> relevant at</div><div>all. Well ok. I guess I can just leave my files,
> as they are,</div><div>since they are no real extensions of the library.
> But I am not</div>
> <div>completely sure. If anyone has a better idea: Just let me
> know</div><div>it.</div><div><br></div><div>Benjamin</div><div
> class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 6, 2012
> at 4:02 PM, Benjamin Schnitzler <span dir="ltr"><<a
> href="mailto:benjaminschnitzler at googlemail.com"
> target="_blank">benjaminschnitzler at googlemail.com</a>></span>
> wrote:<br>
> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px
> #ccc solid;padding-left:1ex">Hello everyone,<br>
> <br>
> I am new to this list.<br>
> I have a question concerning the curses module (I am using<br>
> python2.7). Which license does this module have? Is it bases<br>
> completely on the curses library? In the documentation the<br>
> following is stated:<br>
> <br>
> "The curses module provides an interface to the curses library,<br>
> the de-facto standard for portable advanced terminal handling."<br>
> <br>
> But also:<br>
> <br>
> "Changed in version 1.6: Added support for the ncurses library<br>
> and converted to a package."<br>
> <br>
> Is it maybe built on both libraries? However, the crucial point<br>
> is, that I want to build a curses terminal interface for some GPL<br>
> software project. Can You give me a hint, if that is possible<br>
> (yes, I know, You are no lawyers) and if and where I have to<br>
> include licensing informations regarding the license of<br>
> curses/ncurses ?<br>
> <br>
> Thank You<br>
> <span class="HOEnZb"><font color="#888888"><br>
> Benjamin<br>
> </font></span></blockquote></div><br></div>

If I understand things correctly this means if you distribute the python 
package (alone or as part of your application) then you need to include 
the detailed section.

if you provide just your own python code & require the user to install 
python & any necessary modules (which would be needed for windoze users 
python is usually installed or at least included in the repository's of 
most Linux Distros)then this restriction does not apply.

the copyright is for the python interpreter & modules not your own 
personal code.


-- 
I know on which side my bread is buttered.
		-- John Heywood



More information about the Python-list mailing list