Re: Picking a license

2010-05-13 Thread Steven D'Aprano
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 into play in my programming life is when I have to recode > something that is nomi

Re: Picking a license

2010-05-13 Thread Steven D'Aprano
On Thu, 13 May 2010 17:18:47 -0700, Carl Banks wrote: > The thing you GPL fanbois refuse to understand or accept is that, in the > real world, a person or company who doesn't want to open source their > "derivative work" will only rarely be forced to by the GPL. They'll work > around it instead, v

Re: client to upload big files via https and get progress info

2010-05-13 Thread J.O. Aho
News123 wrote: > What do others do for huge file uploads > The uploader might be connected via ethernet, WLAN, UMTS, EDGE, GPRS. ) Those cases where I have had to move big files it's been scp on those cases where you just have to push a new file, in cases where it's a question of keeping two di

Re: client to upload big files via https and get progress info

2010-05-13 Thread Sean DiZazzo
On May 13, 9:54 pm, Sean DiZazzo wrote: > On May 13, 9:39 am, News123 wrote: > > > > > Hi Aaaz, > > > Aahz wrote: > > > In article <4bea6b50$0$8925$426a7...@news.free.fr>, > > > News123   wrote: > > >> I'd like to perform huge file uploads via https. > > >> I'd like to make sure, > > >> - that I

Re: client to upload big files via https and get progress info

2010-05-13 Thread Sean DiZazzo
On May 13, 9:39 am, News123 wrote: > Hi Aaaz, > > Aahz wrote: > > In article <4bea6b50$0$8925$426a7...@news.free.fr>, > > News123   wrote: > >> I'd like to perform huge file uploads via https. > >> I'd like to make sure, > >> - that I can obtain upload progress info (sometimes the nw is very slow)

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 10:06 pm, Lawrence D'Oliveiro wrote: > In message , 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 II: > >    If person A is free do perform an action person B is not free

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 10:04 pm, Lawrence D'Oliveiro wrote: > In message , Ed Keith > wrote: > > > The claim is being made that [the GPL] restricts freedom. > > What about the “freedom” to restrict other people’s freedom? Should that be > restricted or not? It's interesting that some people don't like the co

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 10:03 pm, Lawrence D'Oliveiro 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 the fair use defense), then I

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 10:07 pm, Lawrence D'Oliveiro 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 directly provide the ability to relink,

Re: Picking a license

2010-05-13 Thread Lawrence D'Oliveiro
In message , Ed Keith wrote: > On Thu, 5/13/10, Lawrence D'Oliveiro > wrote: > >> In message , >> Ed Keith wrote: >> >>> So if you want me to even consider using your library >>> do not use GPL, or LGPL. >> >> What have you got against LGPL for this purpose? > > Most of my clients would not

Re: Picking a license

2010-05-13 Thread Lawrence D'Oliveiro
In message , 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 II: >If person A is free do perform an action person B is not free to >perform then person A is free to do more than person B. >

Re: Picking a license

2010-05-13 Thread Lawrence D'Oliveiro
In message , Ed Keith wrote: > The claim is being made that [the GPL] restricts freedom. What about the “freedom” to restrict other people’s freedom? Should that be restricted or not? -- http://mail.python.org/mailman/listinfo/python-list

Re: Picking a license

2010-05-13 Thread Lawrence D'Oliveiro
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 the fair use defense), then I have > violated the GPL. I provided chapter and verse on

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 6:39 pm, Steven D'Aprano 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, and presumably 65 for the next million, etc...

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 6:39 pm, Steven D'Aprano 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 is available, and they can c

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 6:39 pm, Steven D'Aprano 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 the GPL. I provided > > chapter an

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 th

Re: Picking a license

2010-05-13 Thread Aahz
In article <2d625c61-7a94-4c71-8953-69c3b3c76...@k29g2000yqh.googlegroups.com>, Paul Boddie wrote: > >All my position has ever been is this: > >A copyrighted work denies recipients virtually all rights to do stuff >with that work, such as modify and redistribute it. Copyleft licences >grant some

Re: Picking a license

2010-05-13 Thread Ed Keith
--- On Thu, 5/13/10, Brendan Abel <007bren...@gmail.com> wrote: > From: Brendan Abel <007bren...@gmail.com> > Subject: Re: Picking a license > To: python-list@python.org > Date: Thursday, May 13, 2010, 7:30 PM > While I think most of the > disagreement in this long thread results > from different

Re: Picking a license

2010-05-13 Thread Ed Keith
--- On Thu, 5/13/10, Carl Banks wrote: > > The thing you GPL fanbois refuse to understand or accept is > that, in > the real world, a person or company who doesn't want to > open source > their "derivative work" will only rarely be forced to by > the GPL. > They'll work around it instead, vast m

Re: walk directory & ignore all files/directories begin with '.'

2010-05-13 Thread Tim Chase
On 05/13/2010 12:58 PM, albert kao wrote: I want to walk a directory and ignore all the files or directories which names begin in '.' (e.g. '.svn'). Then I will process all the files. My test program walknodot.py does not do the job yet. Python version is 3.1 on windows XP. Please help. [code] #

Re: Picking a license

2010-05-13 Thread Carl Banks
On May 13, 4: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 th

Re: indexing lists/arrays question

2010-05-13 Thread Tim Chase
On 05/13/2010 12:51 PM, a wrote: If your two arrays are of the same length, you can do things like a = [2,3,3,4,5,6] b = ['a', 'b', 'c', 'd', 'e', 'f'] print [m for (n,m) in zip(a,b) if n == 3] and skip the indexes altogether. mmm, that's clever, thanks. although i don't know wh

ANN: Wing IDE 3.2.7 released

2010-05-13 Thread Wingware
Hi, Wingware has released version 3.2.7 of Wing IDE, an integrated development environment designed specifically for the Python programming language. Wing IDE is a cross-platform Python IDE that provides a professional code editor with vi, emacs, and other key bindings, auto-completion, call tip

Re: Picking a license

2010-05-13 Thread Steven D'Aprano
On Thu, 13 May 2010 06:24:04 -0700, Ed Keith wrote: > --- On Thu, 5/13/10, Lawrence D'Oliveiro > wrote: >> >> What have you got against LGPL for this purpose? -- >> > Most of my clients would not know how to relink a program if their life > depended on it. And I do not want to put then in DLL he

Re: Picking a license

2010-05-13 Thread Steven D'Aprano
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 the GPL. I provided > chapter and verse on this; go look it up. I'm sorry, I can't s

Re: Picking a license

2010-05-13 Thread Brendan Abel
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, suffer from the broken window fallacy. This fallacy results from

Re: stopping execution window on error - newbie

2010-05-13 Thread Mensanator
On May 13, 4:00 pm, a wrote: > I'm coding on an old windows laptop > > i write the code and double click the icon.   Don't do that. > it runs the program and > writes results to a window. > > when the code finishes, the window closes, i do a time.sleep(10) to > see what has happened. > > unfortu

Tkinter - paste from clipboard not working

2010-05-13 Thread puzzler
I have written a very simple GUI in Python / Tkinter, running under Python 2.5.4 on Windows. The GUI is essentially a big Tix.ScrolledText area, where you can enter some text, and a button underneath to process the text. (The button causes the text to be looked up in a SQLite database, and some s

Re: stopping execution window on error - newbie

2010-05-13 Thread Matteo Landi
Place a try .. except surrounding the body of your program, and finally call the input() function. On Thu, May 13, 2010 at 11:00 PM, a wrote: > I'm coding on an old windows laptop > > i write the code and double click the icon. it runs the program and > writes results to a window. > > when the c

stopping execution window on error - newbie

2010-05-13 Thread a
I'm coding on an old windows laptop i write the code and double click the icon. it runs the program and writes results to a window. when the code finishes, the window closes, i do a time.sleep(10) to see what has happened. unfortunately when there is an error it just closes the window. anyway o

Re: use only files but ignore directories on Windows

2010-05-13 Thread James Mills
On Fri, May 14, 2010 at 6:12 AM, albert kao wrote: > My program plan to use only files but ignore directories on Windows. > I google but do not find some functions like > bool isFile(string) > bool isDirectory(string) > Please help. Try looking up the os module. cheers James -- http://mail.pyth

Re: use only files but ignore directories on Windows

2010-05-13 Thread Jerry Hill
On Thu, May 13, 2010 at 4:12 PM, albert kao wrote: > My program plan to use only files but ignore directories on Windows. > I google but do not find some functions like > bool isFile(string) > bool isDirectory(string) > Please help. You're looking for the functions os.path.isfile() and os.path.is

use only files but ignore directories on Windows

2010-05-13 Thread albert kao
My program plan to use only files but ignore directories on Windows. I google but do not find some functions like bool isFile(string) bool isDirectory(string) Please help. -- http://mail.python.org/mailman/listinfo/python-list

Re: walk directory & ignore all files/directories begin with '.'

2010-05-13 Thread albert kao
On May 13, 3:10 pm, MRAB wrote: > albert kao wrote: > > I want to walk a directory and ignore all the files or directories > > which names begin in '.' (e.g. '.svn'). > > Then I will process all the files. > > My test program walknodot.py does not do the job yet. > > Python version is 3.1 on windo

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 11:19 am, Paul Boddie 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: http://www.gnu.org/licenses/gpl-faq.html#UnchangedJustBinary > If you

Re: walk directory & ignore all files/directories begin with '.'

2010-05-13 Thread MRAB
albert kao wrote: I want to walk a directory and ignore all the files or directories which names begin in '.' (e.g. '.svn'). Then I will process all the files. My test program walknodot.py does not do the job yet. Python version is 3.1 on windows XP. Please help. [code] #!c:/Python31/python.exe

walk directory & ignore all files/directories begin with '.'

2010-05-13 Thread albert kao
I want to walk a directory and ignore all the files or directories which names begin in '.' (e.g. '.svn'). Then I will process all the files. My test program walknodot.py does not do the job yet. Python version is 3.1 on windows XP. Please help. [code] #!c:/Python31/python.exe -u import os import

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 18:18, Tim Chase wrote: > On 05/13/2010 10:45 AM, a wrote: > > > > > > >>> a=[2,3,3,4,5,6] > > >>> i want to know the indices where a==3 (ie 1 and 2) > > >> indexes = [i for (i, v) in enumerate(a) where v==3] > > >>> then i want to reference these in a > > >> In a _what_?  You can then

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 17:41, Carey Tilden wrote: > On Thu, May 13, 2010 at 8:45 AM, a > wrote: > > On 13 May, 16:19, Tim Chase wrote: > >> On 05/13/2010 09:36 AM, a wrote: > > >> > this must be easy but its taken me a couple of hours already > > >> > i have > > >> > a=[2,3,3,4,5,6] > > >> > i want to know

Re: indexing lists/arrays question

2010-05-13 Thread Tim Chase
On 05/13/2010 10:45 AM, a wrote: a=[2,3,3,4,5,6] i want to know the indices where a==3 (ie 1 and 2) indexes = [i for (i, v) in enumerate(a) where v==3] then i want to reference these in a In a _what_? You can then do things like for i in indexes: print a[i] (but you already

Re: indexing lists/arrays question

2010-05-13 Thread Carey Tilden
On Thu, May 13, 2010 at 8:45 AM, a wrote: > On 13 May, 16:19, Tim Chase wrote: >> On 05/13/2010 09:36 AM, a wrote: >> >> > this must be easy but its taken me a couple of hours already >> >> > i have >> >> > a=[2,3,3,4,5,6] >> >> > i want to know the indices where a==3 (ie 1 and 2) >> >> indexes =

Re: client to upload big files via https and get progress info

2010-05-13 Thread News123
Hi Aaaz, Aahz wrote: > In article <4bea6b50$0$8925$426a7...@news.free.fr>, > News123 wrote: >> I'd like to perform huge file uploads via https. >> I'd like to make sure, >> - that I can obtain upload progress info (sometimes the nw is very slow) >> - that (if the file exceeds a certain size) I d

Re: Broken pipe

2010-05-13 Thread Lie Ryan
On 05/13/10 22:41, Lawrence D'Oliveiro wrote: > In message , Chris > Rebert wrote: > >> Also, please don't use semicolons in your code. It's bad style. > > Wonder why they’re allowed, then. they're there for line continuation, e.g.: a = 40; foo(a) but in many cases, putting two statements in

Re: Picking a license

2010-05-13 Thread Paul Boddie
On 13 Mai, 01:58, Patrick Maupin wrote: > On May 12, 6:15 pm, Paul Boddie wrote: > > Right. The "full cost" of software that probably cost them nothing > > monetarily and which comes with all the sources, some through a chain > > of distribution and improvement which could have led to proprietary

Re: Picking a license

2010-05-13 Thread Ed Keith
--- On Thu, 5/13/10, Lawrence D'Oliveiro wrote: > From: Lawrence D'Oliveiro > Subject: Re: Picking a license > To: python-list@python.org > Date: Thursday, May 13, 2010, 8:25 AM > In message > <155f1683-9bfd-4a83-b63f-7fb0fc2f5...@g21g2000yqk.googlegroups.com>, > Patrick > Maupin wrote: > > >

Re: Picking a license

2010-05-13 Thread Ed Keith
--- On Wed, 5/12/10, Lawrence D'Oliveiro wrote: > From: Lawrence D'Oliveiro > Subject: Re: Picking a license > To: python-list@python.org > Date: Wednesday, May 12, 2010, 11:48 PM > In message , > Ed Keith > wrote: > > > ... but to claim that putting more restrictions on > someone give them m

Re: client to upload big files via https and get progress info

2010-05-13 Thread James Mills
On Wed, May 12, 2010 at 6:48 PM, News123 wrote: > Hi, > > I'd like to perform huge file uploads via https. > I'd like to make sure, > - that I can obtain upload progress info (sometimes the nw is very slow) > - that (if the file exceeds a certain size) I don't have to >  read the entire file into

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 9:53 am, Paul Boddie wrote: > On 13 Mai, 01:36, Patrick Maupin 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 of that same readline copyrigh

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 16:19, Tim Chase wrote: > On 05/13/2010 09:36 AM, a wrote: > > > this must be easy but its taken me a couple of hours already > > > i have > > > a=[2,3,3,4,5,6] > > > i want to know the indices where a==3 (ie 1 and 2) > > indexes = [i for (i, v) in enumerate(a) where v==3] > > > then i

Re: client to upload big files via https and get progress info

2010-05-13 Thread Aahz
In article <4bea6b50$0$8925$426a7...@news.free.fr>, News123 wrote: > >I'd like to perform huge file uploads via https. >I'd like to make sure, >- that I can obtain upload progress info (sometimes the nw is very slow) >- that (if the file exceeds a certain size) I don't have to > read the entire

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 7:25 am, Lawrence D'Oliveiro wrote: > In message > <155f1683-9bfd-4a83-b63f-7fb0fc2f5...@g21g2000yqk.googlegroups.com>, Patrick > > Maupin wrote: > > On May 12, 10:48 pm, Lawrence D'Oliveiro > > wrote: > > >> In message , Ed > >> Keith wrote: > > >> > ... but to claim that putting more

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 15:47, Stefan Behnel wrote: > a, 13.05.2010 16:36: > > > this must be easy but its taken me a couple of hours already > > > i have > > > a=[2,3,3,4,5,6] > > > i want to know the indices where a==3 (ie 1 and 2) > >    indices = [ i for i,item in enumerate(a) if item == 3 ] > > > then i w

Re: indexing lists/arrays question

2010-05-13 Thread Tim Chase
On 05/13/2010 09:36 AM, a wrote: this must be easy but its taken me a couple of hours already i have a=[2,3,3,4,5,6] i want to know the indices where a==3 (ie 1 and 2) indexes = [i for (i, v) in enumerate(a) where v==3] then i want to reference these in a In a _what_? You can then do th

Re: Picking a license

2010-05-13 Thread Ed Keith
Consider the following scenario: Three programmers, call them A, B & C, independently develop three different algorithms to perform a O(ln(n)) search. Each decide to release it for 'free'. A decides to make it 'free', by publishing compiled object code for all major platforms and putting them i

Re: indexing lists/arrays question

2010-05-13 Thread Neil Cerutti
On 2010-05-13, Stefan Behnel wrote: > a, 13.05.2010 16:36: >> this must be easy but its taken me a couple of hours already >> >> i have >> >> a=[2,3,3,4,5,6] >> >> i want to know the indices where a==3 (ie 1 and 2) > >indices = [ i for i,item in enumerate(a) if item == 3 ] That form of list c

Re: Picking a license

2010-05-13 Thread Patrick Maupin
On May 13, 2:58 am, Steven D'Aprano wrote: > On Wed, 12 May 2010 22:16:29 -0700, Patrick Maupin wrote: > > On May 12, 10:48 pm, Lawrence D'Oliveiro > central.gen.new_zealand> wrote: > >> In message , Ed > >> Keith wrote: > > >> > ... but to claim that putting more restrictions on someone give the

Re: indexing lists/arrays question

2010-05-13 Thread Neil Cerutti
On 2010-05-13, a wrote: > this must be easy but its taken me a couple of hours already > > i have > > a=[2,3,3,4,5,6] > > i want to know the indices where a==3 (ie 1 and 2) > > then i want to reference these in a > > ie what i would do in IDL is > > b=where(a eq 3) > a1=a(b) > > any ideas? For a

Re: indexing lists/arrays question

2010-05-13 Thread Matthew Wilson
On Thu 13 May 2010 10:36:58 AM EDT, a wrote: > this must be easy but its taken me a couple of hours already > > i have > > a=[2,3,3,4,5,6] > > i want to know the indices where a==3 (ie 1 and 2) > > then i want to reference these in a > > ie what i would do in IDL is > > b=where(a eq 3) > a1=a(b)

Re: Picking a license

2010-05-13 Thread Paul Boddie
On 13 Mai, 01:36, Patrick Maupin 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 of that same readline copyright. > See, e.g. LaserComb v Reynolds, where the defen

Re: indexing lists/arrays question

2010-05-13 Thread Stefan Behnel
a, 13.05.2010 16:36: this must be easy but its taken me a couple of hours already i have a=[2,3,3,4,5,6] i want to know the indices where a==3 (ie 1 and 2) indices = [ i for i,item in enumerate(a) if item == 3 ] then i want to reference these in a print [ a[i] for i in indices ] St

indexing lists/arrays question

2010-05-13 Thread a
this must be easy but its taken me a couple of hours already i have a=[2,3,3,4,5,6] i want to know the indices where a==3 (ie 1 and 2) then i want to reference these in a ie what i would do in IDL is b=where(a eq 3) a1=a(b) any ideas? Thanks -- http://mail.python.org/mailman/listinfo/pyth

jython and emacs on windows

2010-05-13 Thread jerome delachienne
Hello, i am trying to start a jython interpreter from emacs on windows from several days and did not managed to do it. I managed to start the jython interpreter from emacs on linux I managed to start the python interpreter from emacs on windows. with jython on windows i have the following problem:

Re: Picking a license

2010-05-13 Thread Ed Keith
--- On Thu, 5/13/10, Lawrence D'Oliveiro wrote: > From: Lawrence D'Oliveiro > Subject: Re: Picking a license > To: python-list@python.org > Date: Thursday, May 13, 2010, 8:38 AM > In message , > Ed Keith > wrote: > > > If, on the other hand you are releasing a library, to > be incorporated in

Loading C extension from memory

2010-05-13 Thread mk
Hello, I wonder if there is a way to load C extension from in-memory object, not from the file on the disk? I'm asking bc I would like to download C extensions over network and load them into Python interpreter (without storing the C extension in file on the disk). I googled for this but t

Re: Is there a better way to set a system clock in Python (on a Linux system)

2010-05-13 Thread Lawrence D'Oliveiro
In message , J wrote: > Like I said, it works well, I just wonder if there is a cleaner way of > setting the local clock to a different time in python without having > to do all this. How about one line in Bash: date -s $(date --rfc-3339=date -d "+1 hour") -- http://mail.python.org/mailman

Invoking setup.py in sub-packages

2010-05-13 Thread Francesc
Hi, I'd like to setup a package that is make of other sub-packages, modules and other extensions. What I have is something like (this is very simplified indeed): / __init__.py setup.py foo1/ __init__.py foo1.c [...] foo2/ setup.py __init__.

Re: Broken pipe

2010-05-13 Thread Lawrence D'Oliveiro
In message , Chris Rebert wrote: > Also, please don't use semicolons in your code. It's bad style. Wonder why they’re allowed, then. -- http://mail.python.org/mailman/listinfo/python-list

Re: Picking a license

2010-05-13 Thread Lawrence D'Oliveiro
In message , Ed Keith wrote: > If, on the other hand you are releasing a library, to be incorporated into > other products, If you release it under the GPL I will not take the time > to learn it. I do not want to have to think about what took I can legally > use for what job. Libraries with permi

Re: Django as exemplary design

2010-05-13 Thread Lawrence D'Oliveiro
In message , Aahz wrote: > My suspicion is that very very few medium/large systems are truly > "well-designed". Conway’s law applies: the product of any human endeavour reflects the organizational structure that produced it. If the individuals/groups writing the different parts of the software

Re: Django as exemplary design

2010-05-13 Thread Lawrence D'Oliveiro
In message , MRAB wrote: > Albert Hopkins wrote: > >> On Thu, 2010-05-06 at 16:38 -0700, Patrick Maupin wrote: >> >>> I don't know how this applies to reading other peoples' code, but >>> recent research shows we learn more from success than failure >> >> That's good to learn, because for years

Re: PEP 3119 ABC - And how I learned to love the Abstract Bomb

2010-05-13 Thread Lawrence D'Oliveiro
In message , Hatem Nassrat wrote: > 1. To create a YajlContentHandler class that forces all sub-classers > to implement a certain set of methods. (Great, thats what ABC is for) > > 2. Conditional Abstractness! if certain methods are not implemented > then be able to require some method to be imp

Re: Picking a license

2010-05-13 Thread Lawrence D'Oliveiro
In message <155f1683-9bfd-4a83-b63f-7fb0fc2f5...@g21g2000yqk.googlegroups.com>, Patrick Maupin wrote: > On May 12, 10:48 pm, Lawrence D'Oliveiro > wrote: > >> In message , Ed >> Keith wrote: >> >> > ... but to claim that putting more restrictions on someone give them >> > more freedom is pure Or

Re: Do any debuggers support "edit and continue?"

2010-05-13 Thread Michiel Overtoom
On 2010-05-13 00:07, Joel Koltner wrote: Hey, a lot of people would argue that Python's lack of strong typing and data/member protection (from one class to another) encourages sloppy programming too. :-) You're being ironic, aren't you? Python does have strong typing (many people confuse tha

Re: Queue.Queue() AttributeError exception

2010-05-13 Thread Carl Banks
On May 12, 11:50 pm, Dennis Lee Bieber wrote: > On Mon, 10 May 2010 10:40:51 +0800, "ÖÓ±þÓÂ" > declaimed the following in gmane.comp.python.general: > > > I have a multi-thread program work with Queue.Queue(), sometimes put > > request to the work queue, but throw an exception as below traceback

Re: Picking a license

2010-05-13 Thread Steven D'Aprano
On Wed, 12 May 2010 22:16:29 -0700, Patrick Maupin wrote: > On May 12, 10:48 pm, Lawrence D'Oliveiro central.gen.new_zealand> wrote: >> In message , Ed >> Keith wrote: >> >> > ... but to claim that putting more restrictions on someone give them >> > more freedom is pure Orwellian double speak. >>