[issue25294] Absolute imports fail in some cases where relative imports would work

2015-10-05 Thread Patrick Maupin
Patrick Maupin added the comment: You are correct that I have conflated two issues, but they are not orthogonal -- if you choose to use relative imports, you will never encounter this issue, because your imports will all be of the 'from ... import' form. (And, as you point out, the fact

[issue25294] Absolute imports fail in some cases where relative imports would work

2015-10-05 Thread Patrick Maupin
Patrick Maupin added the comment: concurrent/futures/__init__.py may be a better example than 2to3 for this issue. It's relatively new code, it's part of the standard library, it's fairly small and self-contained, and it doesn't follow the promulgated standard. If it's bad code, it should

[issue25294] Absolute imports fail in some cases where relative imports would work

2015-10-05 Thread Patrick Maupin
Patrick Maupin added the comment: I don't think anything is wrong with that code. But PEP 8 prescribes a way of doing something that often won't work (which is unusual for PEP 8), with no discussion of this fact. > I think the key thing to take away from this whole discussion is "do

[issue25294] Absolute imports fail in some cases where relative imports would work

2015-10-03 Thread Patrick Maupin
Patrick Maupin added the comment: The PEP 8 recommendation to "use absolute imports" is completely, totally, unambiguously meaningless absent the expectation that packages refer to parts of themselves. And it works, too! (For a single level of package.) As soon as packages

[issue25294] Absolute imports fail in some cases where relative imports would work

2015-10-03 Thread Patrick Maupin
Patrick Maupin added the comment: I'm a big fan of stitching things together at the top myself -- maybe that's partly an unconscious reaction to this very issue. But I'm not sanguine about how easy it is to express this practice in the docs. This issue arose in the context of me answering

[issue24426] re.split performance degraded significantly by capturing group

2015-06-13 Thread Patrick Maupin
Patrick Maupin added the comment: (stuff about cPython) No, I was curious about whether somebody maintained pure-Python fixes (e.g. to the re parser and compiler). Those could be in a regular package that fixed some corner cases such as the capture group you just applied a patch

[issue24445] rstrip strips what it doesn't have to

2015-06-13 Thread Patrick Maupin
Patrick Maupin added the comment: Example text = 'test1/1.jp2' text.rstrip('.2jp') 'test1/1' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24445

[issue24445] rstrip strips what it doesn't have to

2015-06-13 Thread Patrick Maupin
Patrick Maupin added the comment: I think you misunderstand rstrip -- it works from the right, and checks to see if the right-most character is in the string you have given it. As long as it is, then it will remove the character and loop -- nosy: +Patrick Maupin

[issue24426] re.split performance degraded significantly by capturing group

2015-06-11 Thread Patrick Maupin
Patrick Maupin added the comment: Thank you for the quick response, Serhiy. I had started investigating and come to the conclusion that it was a problem with the compiler rather than the C engine. Interestingly, my next step was going to be to use names for the compiler constants

[issue24426] re.split performance degraded significantly by capturing group

2015-06-10 Thread Patrick Maupin
New submission from Patrick Maupin: The addition of a capturing group in a re.split() pattern, e.g. using '(\n)' instead of '\n', causes a factor of 10 performance degradation. I use re.split a() lot, but never noticed the issue before. It was extremely noticeable on 1000 patterns in a 5BG

[issue24426] re.split performance degraded significantly by capturing group

2015-06-10 Thread Patrick Maupin
Patrick Maupin added the comment: 1) I have obviously oversimplified my test case, to the point where a developer thinks I'm silly enough to reach for the regex module just to split on a linefeed. 2) '\n(?=(\n))' -- yes, of course, any casual user of the re module would immediately choose

[issue24426] re.split performance degraded significantly by capturing group

2015-06-10 Thread Patrick Maupin
Patrick Maupin added the comment: Just to be perfectly clear, this is no exaggeration: My original file was slightly over 5GB. I have approximately 1050 bad strings in it, averaging around 11 characters per string. If I split it without capturing those 1050 strings, it takes 3.7 seconds

Re: match, concatenate based on filename

2011-11-03 Thread Patrick Maupin
On Nov 3, 9:55 pm, Matt macma...@gmail.com wrote: Hi All, I am trying to concatenate several hundred files based on their filename..   Filenames are like this: Q1.HOMOblast.fasta Q1.mus.blast.fasta Q1.query.fasta Q2.HOMOblast.fasta Q2.mus.blast.fasta Q2.query.fasta ...

Re: Question about metaclass

2011-11-01 Thread Patrick Maupin
On Nov 1, 11:02 pm, Makoto Kuwata k...@kuwata-lab.com wrote: Hi, I want to define a special class which groups functions, like:     class Greepting(FuncGroup):         def hello():          # no self, no @staticmethod!             print(Hello!)         def goodbye():        # no self, no

Re: Efficient, built-in way to determine if string has non-ASCII chars outside ASCII 32-127, CRLF, Tab?

2011-10-31 Thread Patrick Maupin
On Mon, Oct 31, 2011 at 4:08 PM, Dave Angel d...@davea.name wrote: Yes. Actually, you don't even need the split() -- you can pass an optional deletechars parameter to translate(). On Oct 31, 5:52 pm, Ian Kelly ian.g.ke...@gmail.com wrote: That sounds overly complicated and error-prone. Not

Re: Efficient, built-in way to determine if string has non-ASCII chars outside ASCII 32-127, CRLF, Tab?

2011-10-31 Thread Patrick Maupin
On Oct 31, 9:12 pm, Dave Angel d...@davea.name wrote: I would claim that a well-written (in C) translate function, without using the delete option, should be much quicker than any python loop, even if it does copy the data. Are you arguing with me? I was agreeing with you, I thought, that

Re: Assigning generator expressions to ctype arrays

2011-10-29 Thread Patrick Maupin
On Oct 28, 3:24 pm, Terry Reedy tjre...@udel.edu wrote: On 10/28/2011 2:05 PM, Patrick Maupin wrote: On Oct 27, 10:23 pm, Terry Reedytjre...@udel.edu  wrote: I do not think everyone else should suffer substantial increase in space and run time to avoid surprising you. What substantial

Re: Assigning generator expressions to ctype arrays

2011-10-28 Thread Patrick Maupin
On Oct 27, 10:23 pm, Terry Reedy tjre...@udel.edu wrote: I do not think everyone else should suffer substantial increase in space and run time to avoid surprising you. What substantial increase? There's already a check that winds up raising an exception. Just make it empty an iterator

Re: Assigning generator expressions to ctype arrays

2011-10-28 Thread Patrick Maupin
On Oct 28, 3:19 am, Terry Reedy tjre...@udel.edu wrote: On 10/28/2011 3:21 AM, Steven D'Aprano wrote: If the slice has too few elements, you've just blown away the entire iterator for no good reason. If the slice is the right length, but the iterator doesn't next raise StopIteration,

Re: Assigning generator expressions to ctype arrays

2011-10-28 Thread Patrick Maupin
On Oct 28, 4:51 pm, Patrick Maupin pmau...@gmail.com wrote: On Oct 28, 3:19 am, Terry Reedy tjre...@udel.edu wrote: On 10/28/2011 3:21 AM, Steven D'Aprano wrote: If the slice has too few elements, you've just blown away the entire iterator for no good reason. If the slice

Re: Assigning generator expressions to ctype arrays

2011-10-28 Thread Patrick Maupin
On Oct 28, 8:01 pm, Steven D'Aprano ALREADY LOSES DATA if the iterator isn't the right size and it raises an exception. Yes. What's your point? This fact doesn't support your proposal in the slightest. You earlier made the argument that If the slice has too few elements, you've just blown

Assigning generator expressions to ctype arrays

2011-10-27 Thread Patrick Maupin
Bug or misunderstanding? Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2] on linux2 Type help, copyright, credits or license for more information. x = 32 * [0] x[:] = (x for x in xrange(32)) from ctypes import c_uint x = (32 * c_uint)() x[:] = xrange(32) x[:] = (x for x in

Re: Assigning generator expressions to ctype arrays

2011-10-27 Thread Patrick Maupin
On Oct 27, 5:31 pm, Steven D'Aprano steve +comp.lang.pyt...@pearwood.info wrote: From the outside, you can't tell how big a generator expression is. It has no length: I understand that. Since the array object has no way of telling whether the generator will have the correct size, it

Re: __dict__ attribute for built-in types

2011-10-27 Thread Patrick Maupin
On Oct 27, 9:46 pm, candide cand...@free.invalid wrote: Le 28/10/2011 02:02, MRAB a crit : No, built-in classes written in C have certain limitations, but why would you want to do that anyway? Mainly for learning purpose and Python better understanding. Actually, I have a class of mine

Re: signed vs unsigned int

2010-06-04 Thread Patrick Maupin
On Jun 2, 6:25 am, John Machin sjmac...@lexicon.net wrote: On Jun 2, 4:43 pm, johnty johntyw...@gmail.com wrote: i'm reading bytes from a serial port, and storing it into an array. each byte represents a signed 8-bit int. currently, the code i'm looking at converts them to an unsigned

Re: Diff of Text

2010-06-04 Thread Patrick Maupin
On Jun 3, 9:54 pm, GZ zyzhu2...@gmail.com wrote: Hi All, I am looking for an algorithm that can compare to source code files line by line and find the minimum diff. I have looked at the difflib included in python. The problem is that it is designed to make the diff results easier for humans

Re: where are the program that are written in python?

2010-05-22 Thread Patrick Maupin
On May 21, 8:45 pm, a...@pythoncraft.com (Aahz) wrote: In article eb0c9aec-428f-45a2-a985-5b33906e0...@z17g2000vbd.googlegroups.com, Patrick Maupin  pmau...@gmail.com wrote: There are a lot of commercial programs written in Python.  But any company which thinks it has a lock on some kind

Re: where are the program that are written in python?

2010-05-22 Thread Patrick Maupin
On May 21, 9:12 pm, Ben Finney ben+pyt...@benfinney.id.au wrote: a...@pythoncraft.com (Aahz) writes: In article eb0c9aec-428f-45a2-a985-5b33906e0...@z17g2000vbd.googlegroups.com, Patrick Maupin  pmau...@gmail.com wrote: There are a lot of commercial programs written in Python.  But any

Re: where are the program that are written in python?

2010-05-22 Thread Patrick Maupin
On May 22, 2:43 am, sturlamolden stu...@molden.no wrote: On 21 Mai, 20:20, Patrick Maupin pmau...@gmail.com wrote: Also, any company in a competitive market where execution speed is extremely important might choose some other language because, frankly, the fact that a development tool

Re: Another Go is Python-like article.

2010-05-22 Thread Patrick Maupin
On May 22, 5:00 am, Michele Simionato michele.simion...@gmail.com wrote: On May 21, 4:20 pm, Grant Edwards inva...@invalid.invalid wrote: What about Go, exactly, do people see as Python-like? The philosophy of keeping things simple. I find the concurrency mechanism quite Pythonic. That's

Re: where are the program that are written in python?

2010-05-22 Thread Patrick Maupin
On May 22, 1:49 pm, Terry Reedy tjre...@udel.edu wrote: Because, as I said, and as you explain further, Python favors programmer speed, including speed of testing new algorithms, over raw execution speed of current algorithms. (Current) speed is (also) easier to test than improvability and

Re: where are the program that are written in python?

2010-05-22 Thread Patrick Maupin
On May 21, 10:30 pm, Chris Rebert c...@rebertia.com wrote: Erm, in fairness, I recall hearing that some speed-critical bits of hg are written in C. It does lend credence to the Python as glue language argument though; I doubt hg's extensibility and friendly interface would have been as easy

Re: Another Go is Python-like article.

2010-05-22 Thread Patrick Maupin
On May 22, 6:14 pm, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Sat, 22 May 2010 12:13:30 -0700, Patrick Maupin wrote about the lack of exceptions in Go: Looking at their rationale, it is appears that one or more of the primary go developers had to deal way too often

Re: where are the program that are written in python?

2010-05-21 Thread Patrick Maupin
On May 21, 5:21 am, Deep_Feelings doctore...@gmail.com wrote: i could not see many programs written in python Well you could try PyPi, or even a search on googlecode. (i will be interested more in COMMERCIAL programs written in python ). What do you mean by commercial, and why? and to be

Re: starting repl programmatically

2010-05-20 Thread Patrick Maupin
On May 20, 6:57 pm, Brendan Miller catph...@catphive.net wrote: I have a python script that sets up some environmental stuff. I would then like to be able to change back to interactive mode and use that environment. What's the best way to do that? import cmd class MyCmd(cmd.Cmd): ... def

Re: optional argument to a subclass of a class

2010-05-20 Thread Patrick Maupin
On May 20, 9:56 pm, Alex Hall mehg...@gmail.com wrote: Hi all, I am now trying to allow my classes, all of which subclass a single class (if that is the term), to provide optional arguments. Here is some of my code: class Craft():  def __init__(self,  name,  isAircraft=False,  

Re: optional argument to a subclass of a class

2010-05-20 Thread Patrick Maupin
On May 20, 10:35 pm, Alex Hall mehg...@gmail.com wrote: So how do I get at anything inside **kw? Is it a list? It's a dictionary. Use *args for a list. (As with self, the name is whatever you want to use, but some sort of consistency is nice.) One of the cool things about Python is how easy

Re: Newbie Alert: subprocess.call

2010-05-19 Thread Patrick Maupin
On May 19, 9:27 pm, Carbon nob...@nospam.tampabay.rr.com wrote: I am new to Python and am trying to write a GUI wrapper script in python 2.5 to get username and passwords from Linux users to send as options to run an app on a 2X terminal server. I came across the easygui module and its

Re: Newbie Alert: subprocess.call

2010-05-19 Thread Patrick Maupin
On May 19, 10:28 pm, Ben Finney ben+pyt...@benfinney.id.au wrote: Better is to use ‘shlex.split’ to split the string as a shell parser would do URL:http://docs.python.org/library/shlex#shlex.split. Good point. I always forget about shlex.split because I'm usually passing (relatively) constant

Re: Picking a license

2010-05-18 Thread Patrick Maupin
On May 18, 11:03 am, Robert Kern robert.k...@gmail.com wrote: On 2010-05-16 09:25 , Ed Keith wrote: No, the GPL makes it clear that the responsibly is on the distributor to either supply the source or written notice, Caveat venditor. The violation exists regardless of whether or not the

Re: recall function definition from shell

2010-05-18 Thread Patrick Maupin
On May 18, 12:31 pm, superpollo ute...@esempio.net wrote:   def myfun(): ...     return WOW ...   myfun() 'WOW'   now, i would like to list the funcion definition, something like this:   myfun.somethinglikethis() def myfun():      return WOW   is there something like this around?

Re: recall function definition from shell

2010-05-18 Thread Patrick Maupin
On May 18, 1:41 pm, superpollo ute...@esempio.net wrote: Patrick Maupin ha scritto: On May 18, 12:31 pm, superpollo ute...@esempio.net wrote:   def myfun(): ...     return WOW ...   myfun() 'WOW' now, i would like to list the funcion definition, something like

Re: help need to write a python spell checker

2010-05-18 Thread Patrick Maupin
On May 14, 3:19 am, harry k hkiri...@yahoo.com.au wrote: Write a spell checking tool that will identify all misspelled word in a text file using a provided dictionary. Well, this has been educational. Both my daughters just finished their final exams last week, so I was confused about seeing

Re: python application question

2010-05-17 Thread Patrick Maupin
On May 17, 8:20 am, a oxfordenergyservi...@googlemail.com wrote: ps someone helped me with enumerate(), which works on the linux but not on the windows? enumerate() works fine on windows. Perhaps your windows box has a really old Python? Regards, Pat --

Re: classes and __init__ question

2010-05-17 Thread Patrick Maupin
On May 17, 3:19 pm, Alex Hall mehg...@gmail.com wrote: Hi all, I am a bit confused about classes. What do you pass a class, since all the actual information is passed to __init__? For example, say you have a dog class. The dog object has a name, a size, and a color. I believe you would say

Re: classes and __init__ question

2010-05-17 Thread Patrick Maupin
On May 17, 3:55 pm, Alex Hall mehg...@gmail.com wrote: So what is a subclass compared to a class? Are you saying that what is passed to the class, so what is in the parentheses of the class, is really the superclass? If so, what is the advantage of doing this; why not just create a class that

Re: getting attributes and methods of class without creating object

2010-05-17 Thread Patrick Maupin
On May 17, 10:52 pm, shuvro shuvr...@gmail.com wrote: Suppose I have a class like this - class myClass(object):     def __init__(self):         self.a = 10         self.b = 20     def my_method(self,var = 20):         self.local_var = var I want to know about its method(__init__ and

Re: Picking a license

2010-05-16 Thread Patrick Maupin
On May 16, 9:19 am, Ed Keith e_...@yahoo.com wrote: --- On Sat, 5/15/10, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: But what about the “freedom” to take away other people’s freedom? Is that really “freedom”? Yes. But that’s a “freedom” that non-GPL licences do

Re: imports and exec

2010-05-16 Thread Patrick Maupin
On May 16, 1:51 pm, Paul Carter pacman...@gmail.com wrote: We are using python for our build system. Each subproject dir has a python script that builds it. Parent dirs have python scripts that recurse into their children and use exec to invoke the python scripts. Recently we discovered that

Re: global variables in imported modules

2010-05-16 Thread Patrick Maupin
On May 16, 4:42 pm, vsoler vicente.so...@gmail.com wrote: Taken fromwww.python.org, FAQ 2.3 How do I share global variables across modules? config.py: x = 0   # Default value of the 'x' configuration setting mod.py: import config config.x = 1 main.py: import config       # try

Re: global variables in imported modules

2010-05-16 Thread Patrick Maupin
On May 16, 5:38 pm, James Mills prolo...@shortcircuit.net.au wrote: On Mon, May 17, 2010 at 8:26 AM, vsoler vicente.so...@gmail.com wrote: However, can I be 100% sure that,no matter how I access variable 'x' (with config.x or mod.config.x) it is always the same 'x'. I mean that either

Re: Picking a license

2010-05-15 Thread Patrick Maupin
On May 15, 12:50 am, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Fri, 14 May 2010 08:37:14 -0700, Patrick Maupin wrote: The most obvious example was that the University of Berkley counter-sued Unix System Laboratories over USL's infringement of the BSD licence. Well, I

Re: Picking a license

2010-05-15 Thread Patrick Maupin
On May 15, 1:34 am, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Fri, 14 May 2010 19:17:20 -0700, Patrick Maupin wrote: On May 14, 9:04 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message 548024fc- dd56-48b9-907d-3aa6a722b

Re: Picking a license

2010-05-15 Thread Patrick Maupin
On May 14, 8:04 am, Ethan Furman et...@stoneleaf.us wrote: Steven D'Aprano wrote: You've never had to recode something because it was nominally available under a proprietary licence that you (or your client) was unwilling to use? Lucky you! Steven, did you actually read what he wrote?  If

Re: Picking a license

2010-05-15 Thread Patrick Maupin
On May 15, 12:49 pm, Albert van der Horst alb...@spenarnc.xs4all.nl wrote: In article 7bdce8a7-bf7d-4f1f-bc9d-1eca26974...@d27g2000yqc.googlegroups.com, Patrick Maupin  pmau...@gmail.com wrote: SNIP That is correct.  All privileges as you put it are merely things that a user can do

Re: Picking a license

2010-05-15 Thread Patrick Maupin
On May 15, 2:59 pm, Paul Boddie p...@boddie.org.uk wrote: [Rest of the post, that contains points previously debated and well- refuted, snipped] Any claim that a licensing change is needed merely to let people develop open source applications on the platform is dishonest, See, there you go

Re: write a 20GB file

2010-05-15 Thread Patrick Maupin
On May 15, 7:09 pm, Dave Angel da...@ieee.org wrote: Nathan Rice wrote: This is precisely the situation mmap was made for :)  It has almost the same methods as a file so it should be an easy replacement. snip Only on a 64bit system, and I'm not sure it's even possible there in every

Re: write a 20GB file

2010-05-15 Thread Patrick Maupin
On May 15, 7:09 pm, Dave Angel da...@ieee.org wrote: Nathan Rice wrote: This is precisely the situation mmap was made for :)  It has almost the same methods as a file so it should be an easy replacement. snip Only on a 64bit system, and I'm not sure it's even possible there in every

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 8:47 am, Paul Boddie p...@boddie.org.uk wrote: On 14 Mai, 05:35, Patrick Maupin pmau...@gmail.com wrote: I mean, it's in English and very technically precise, but if you follow all the references, you quickly come to realize that the license is a patch to the GPL

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 9:10 am, Ed Keith e_...@yahoo.com wrote: --- On Thu, 5/13/10, Patrick Maupin pmau...@gmail.com wrote: From: Patrick Maupin pmau...@gmail.com Subject: Re: Picking a license To: python-l...@python.org Date: Thursday, May 13, 2010, 11:35 PM On May 13, 10:07 pm, Lawrence

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 1:08 am, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Thu, 13 May 2010 19:10:09 -0700, Patrick Maupin wrote: The broken window fallacy is about labor that could have been spent elsewhere if someone else had done something differently.  The only time that comes

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 8:26 am, Paul Boddie p...@boddie.org.uk wrote: On 13 Mai, 22:10, Patrick Maupin pmau...@gmail.com wrote: Just to deal with your Ubuntu high horse situation first, you should take a look at the following for what people regard to be the best practices around GPL-licensed software

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 6:12 am, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message 2ff3643b-6ef1-4471-8438- dcba0dc93...@a21g2000yqn.googlegroups.com, Patrick Maupin wrote: On May 13, 10:04 pm, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: In message mailman

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 6:13 am, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message 2b17ee77-0e49-4a97-994c-7582f86c0...@r34g2000yqj.googlegroups.com, Patrick Maupin wrote: On May 13, 10:06 pm, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: Under the GPL

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 10:20 am, Paul Boddie p...@boddie.org.uk wrote: On 14 Mai, 09:08, Carl Banks pavlovevide...@gmail.com wrote: On May 13, 10:59 pm, Steven D'Aprano st...@remove-this-cybersource.com.au wrote: On Thu, 13 May 2010 17:18:47 -0700, Carl Banks wrote: 2. Reimplment the

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 11:48 am, Paul Boddie p...@boddie.org.uk wrote: On 14 Mai, 17:37, Patrick Maupin pmau...@gmail.com wrote: Before, you were busy pointing me at the GPL FAQ as authoritative. No, the licence is the authority, although the FAQ would probably be useful to clarify the licence

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 1:07 pm, Paul Boddie p...@boddie.org.uk wrote: On 14 Mai, 19:00, Patrick Maupin pmau...@gmail.com wrote: Would you have agreed had he had said that MatLab's license doesn't do much good and assigned the same sort of meaning to that statement, namely that the MatLab license

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 1:38 pm, Paul Boddie p...@boddie.org.uk wrote: On 14 Mai, 19:15, Patrick Maupin pmau...@gmail.com wrote: On May 14, 11:48 am, Paul Boddie p...@boddie.org.uk wrote: Section 3 of GPLv2 (and section 6(d) of GPLv3 reads similarly): If distribution of executable or object code

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 2:26 pm, Paul Boddie p...@boddie.org.uk wrote: On 14 Mai, 20:36, Patrick Maupin pmau...@gmail.com wrote: That statement was made in the context of why Carl doesn't use GPL- licensed *libraries*.  He and I have both explained the difference between libraries and programs

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 6:42 pm, Paul Boddie p...@boddie.org.uk wrote: You really should slow down and read a bit more carefully. You might want to tone down the condescension. I didn't start out condescending, and I agree I could have worded this particular statement a bit more clearly, so I apologize

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 7:24 pm, Terry Reedy tjre...@udel.edu wrote: The option to provide an offer for source rather than direct source distribution is a special benefit to companies equipped to handle a fulfillment process. GPLv2 § 3(c) and GPLv3 § 6(c) avoid burdening noncommercial, occasional

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 6:52 pm, Paul Boddie p...@boddie.org.uk wrote: On 14 Mai, 21:14, Patrick Maupin pmau...@gmail.com wrote: If Joe downloads and burns a CD for his friend, he may not have the sources and may not have any intention of getting them, and probably didn't provide a written offer.  What

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 9:02 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message ab78bcb6-f07c-4d6c-b6aa-961f4ff59...@i9g2000yqi.googlegroups.com, Patrick Maupin wrote: On May 14, 6:12 am, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: In message 2ff3643b

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 9:04 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message 548024fc- dd56-48b9-907d-3aa6a722b...@l31g2000yqm.googlegroups.com, Patrick Maupin wrote: The confusion that some are showing in this thread about whether source must be distributed certainly helps

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 8:57 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message 84a26d03-03b3-47d9- a1f9-107470b87...@k2g2000yqe.googlegroups.com, Patrick Maupin wrote: I also firmly believe, as I have stated before, that the GPL is a much more commercial license.  If you want

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 9:21 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message mailman.180.1273860694.32709.python-l...@python.org, Ed Keith wrote: I just refuse to use [the GPL] in any code for a client, because I do not want to require someone who does not know source code

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 9:32 pm, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: Don't be silly.  That's why I started writing open source software in the first place.  But if I start writing stuff to put in the commons with strings removed, why would I bother with a license that just adds

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 8:58 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message mailman.158.1273844352.32709.python-l...@python.org, Ed Keith wrote: Yes, under the GPL every one has one set of freedoms, under the MIT or Boost license every one has more freedoms. Under other

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 9:17 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message e5a031a3-d097-4a63-b87a-7ddfb9e90...@n15g2000yqf.googlegroups.com, Patrick Maupin wrote: After all, lots of software ideas proved their worth in proprietary systems, and then were later cloned

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 9:59 pm, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: I think this talk about freedoms is dangerously incomplete, and is confusing the issue rather than shedding more light. Both licences grant the same positive freedoms (freedom to do something). MIT-style licences

Re: Picking a license

2010-05-14 Thread Patrick Maupin
On May 14, 11:19 pm, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Fri, 14 May 2010 07:10:50 -0700, Ed Keith wrote: But if my client give someone else a copy of the binary I gave them, they are now in violation. I do not want to put my client in this position. If your

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 2:58 am, Steven D'Aprano ste...@remove.this.cybersource.com.au wrote: On Wed, 12 May 2010 22:16:29 -0700, Patrick Maupin wrote: On May 12, 10:48 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message mailman.121.1273693278.32709.python-l...@python.org, Ed

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 7:25 am, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message 155f1683-9bfd-4a83-b63f-7fb0fc2f5...@g21g2000yqk.googlegroups.com, Patrick Maupin wrote: On May 12, 10:48 pm, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: In message mailman

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 9:53 am, Paul Boddie p...@boddie.org.uk wrote: On 13 Mai, 01:36, Patrick Maupin pmau...@gmail.com wrote: Once the court reaches that conclusion, it would only be a tiny step to find that the FSF's attempt to claim that clisp infringes the readline copyright to be a misuse

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 11:19 am, Paul Boddie p...@boddie.org.uk wrote: People only have to honour requests for the corresponding source if asked for it. They are not violating copyright by default. Well, the gospel according to the FSF says otherwise:

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 6:30 pm, Brendan Abel 007bren...@gmail.com wrote: While I think most of the disagreement in this long thread results from different beliefs in what freedom means, I wanted to add, that most of the responses that argue that the MIT license permits the user more freedom than the GPL,

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 6:39 pm, Steven D'Aprano ste...@remove.this.cybersource.com.au wrote: On Thu, 13 May 2010 08:06:52 -0700, Patrick Maupin wrote: If I download an Ubuntu ISO, burn it and give it away (let's say I give away 100 copies, just to remove the fair use defense), then I have violated

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 6:39 pm, Steven D'Aprano ste...@remove.this.cybersource.com.au wrote: On Thu, 13 May 2010 08:06:52 -0700, Patrick Maupin wrote: [...] Only a tiny proportion of people would discover by their own efforts that the source code was available No, I tell my friends that source

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 6:39 pm, Steven D'Aprano ste...@remove.this.cybersource.com.au wrote: On Thu, 13 May 2010 08:06:52 -0700, Patrick Maupin wrote: Perhaps the Apache model doesn't work quite as well as you think? Apparently it's 66 percent of the web servers for the million busiest sites

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 10:07 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: How exactly does the LGPL lead to a requirement to “relink”? I think this might be a misconception, but I'm not 100% sure. Since Ed gives his customers full source code, there may not be the requirement to

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 10:03 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message 72888d2c-4b1a-4b08-a3aa- f4021d2ed...@e2g2000yqn.googlegroups.com, Patrick Maupin wrote: If I download an Ubuntu ISO, burn it and give it away (let's say I give away 100 copies, just to remove

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 10:04 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message mailman.142.1273767256.32709.python-l...@python.org, Ed Keith wrote: The claim is being made that [the GPL] restricts freedom. What about the “freedom” to restrict other people’s freedom? Should

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 10:06 pm, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message mailman.141.1273767256.32709.python-l...@python.org, Ed Keith wrote: Assertion I:    If person A is free to do more than person B, then person A has    more freedom then person B. Assertion

Re: Picking a license

2010-05-12 Thread Patrick Maupin
On May 12, 7:10 am, Paul Boddie p...@boddie.org.uk wrote: On 11 Mai, 22:39, Patrick Maupin pmau...@gmail.com wrote: OK.  Now I'm REALLY confused.  I said Certainly RMS carefully lays out that the LGPL should be used sparingly in his Why you shouldn't use the Lesser GPL for your next

Re: Picking a license

2010-05-12 Thread Patrick Maupin
On May 11, 10:06 pm, Lie Ryan lie.1...@gmail.com wrote: The point is, GPL (and OWL) is for programmers who just don't care about the legal stuffs and would want to spend more time writing code than writing license. Absolutely. When I wrote permissive license I was not trying to imply that

Re: Picking a license

2010-05-12 Thread Patrick Maupin
On May 12, 7:26 am, Paul Boddie p...@boddie.org.uk wrote: On 11 Mai, 23:02, Patrick Maupin pmau...@gmail.com wrote: Huh? Permissive licenses offer much better certainty for someone attempting a creative mash-up.  Different versions of the Apache license don't conflict with each other.  If I

Re: Picking a license

2010-05-12 Thread Patrick Maupin
On May 12, 7:43 am, Paul Boddie p...@boddie.org.uk wrote: On 11 Mai, 22:50, Patrick Maupin pmau...@gmail.com wrote: On May 11, 5:34 am, Paul Boddie p...@boddie.org.uk wrote: Yes, *if* you took it. He isn't forcing you to take it, though, is he? No,  but he said a lot of words that I

Re: Picking a license

2010-05-12 Thread Patrick Maupin
On May 12, 2:19 am, Lie Ryan lie.1...@gmail.com wrote: On 05/12/10 06:50, Patrick Maupin wrote: On May 11, 5:34 am, Paul Boddie p...@boddie.org.uk wrote: On 10 Mai, 20:36, Patrick Maupin pmau...@gmail.com wrote:  The fact is, I know the man would force me to pay for the chocolate, so

Re: Picking a license

2010-05-12 Thread Patrick Maupin
On May 12, 12:17 pm, Paul Boddie p...@boddie.org.uk wrote: On 12 Mai, 16:45, Patrick Maupin pmau...@gmail.com wrote: On May 12, 7:43 am, Paul Boddie p...@boddie.org.uk wrote: Thus, owned my soul joins holy war and Bin Laden on the list. That rhetorical toolbox is looking pretty empty

Re: Picking a license

2010-05-12 Thread Patrick Maupin
On May 12, 1:00 pm, Paul Boddie p...@boddie.org.uk wrote: On 12 Mai, 16:10, Patrick Maupin pmau...@gmail.com wrote: On May 12, 7:10 am, Paul Boddie p...@boddie.org.uk wrote: What the licence asks you to do and what the author of the licence wants you to do are two separate things

  1   2   3   4   >