Call for Papers: Workshop on Self-sustaining Systems (S3) 2010

2010-05-13 Thread Carl Friedrich Bolz
*** Workshop on Self-sustaining Systems (S3) 2010 *** September 27-28, 2010 The University of Tokyo, Japan http://www.hpi.uni-potsdam.de/swa/s3/s3-10/ In cooperation with ACM SIGPLAN === Call for papers === The Workshop on Self-sustaining Systems (S3) is a forum for discussion of topics

[ANN] RedNotebook 0.9.5

2010-05-13 Thread Jendrik Seipp
RedNotebook 0.9.5 has been released. You can get the tarball at http://sourceforge.net/projects/rednotebook/files/ For links to distribution packages head to the RedNotebook homepage http://rednotebook.sourceforge.net What is RedNotebook? RedNotebook is a **graphical

Fwd: fails to call python from jython for types, functools, csv modules

2010-05-13 Thread Joax Spec
Hello I'm very new to python/jython, and trying yo *call a program from jython*, which works very good in python. I got some issues which resolve as I expose here, but I think these are unsatisfactory solutions. If you want to reply please do it to my address. thanks, Jx PD. both are great

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 l...@geek- central.gen.new_zealand wrote: In message mailman.121.1273693278.32709.python-l...@python.org, Ed Keith wrote: ... but to claim that putting more restrictions on someone give them

Re: Queue.Queue() AttributeError exception

2010-05-13 Thread Carl Banks
On May 12, 11:50 pm, Dennis Lee Bieber wlfr...@ix.netcom.com wrote: On Mon, 10 May 2010 10:40:51 +0800, ÖÓ±þÓÂ zhon...@ucweb.com 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

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

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 l...@geek-central.gen.new_zealand wrote: In message mailman.121.1273693278.32709.python-l...@python.org, Ed Keith wrote: ... but to claim that

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

2010-05-13 Thread Lawrence D'Oliveiro
In message mailman.90.1273639153.32709.python-l...@python.org, 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

Re: Django as exemplary design

2010-05-13 Thread Lawrence D'Oliveiro
In message mailman.2704.1273192642.23598.python-l...@python.org, 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

Re: Django as exemplary design

2010-05-13 Thread Lawrence D'Oliveiro
In message hs10nb$6o...@panix5.panix.com, 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

Re: Picking a license

2010-05-13 Thread Lawrence D'Oliveiro
In message mailman.2834.1273453242.23598.python-l...@python.org, 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

Re: Broken pipe

2010-05-13 Thread Lawrence D'Oliveiro
In message mailman.2720.1273210637.23598.python-l...@python.org, 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

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): foo/ __init__.py setup.py foo1/ __init__.py foo1.c [...] foo2/ setup.py

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 mailman.2653.1273114075.23598.python-l...@python.org, 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

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

Re: Picking a license

2010-05-13 Thread Ed Keith
--- On Thu, 5/13/10, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: From: Lawrence D'Oliveiro l...@geek-central.gen.new_zealand Subject: Re: Picking a license To: python-list@python.org Date: Thursday, May 13, 2010, 8:38 AM In message

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

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 --

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 ]

Re: Picking a license

2010-05-13 Thread Paul Boddie
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 of that same readline copyright. See, e.g. LaserComb v Reynolds,

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) There's

Re: indexing lists/arrays question

2010-05-13 Thread Neil Cerutti
On 2010-05-13, a oxfordenergyservi...@googlemail.com 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 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: indexing lists/arrays question

2010-05-13 Thread Neil Cerutti
On 2010-05-13, Stefan Behnel stefan...@behnel.de 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

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

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

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 15:47, Stefan Behnel stefan...@behnel.de 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

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

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 news1...@free.fr 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

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 16:19, Tim Chase python.l...@tim.thechases.com 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

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 of

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 news1...@free.fr 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

Re: Picking a license

2010-05-13 Thread Ed Keith
--- On Wed, 5/12/10, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: From: Lawrence D'Oliveiro l...@geek-central.gen.new_zealand Subject: Re: Picking a license To: python-list@python.org Date: Wednesday, May 12, 2010, 11:48 PM In message

Re: Picking a license

2010-05-13 Thread Ed Keith
--- On Thu, 5/13/10, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: From: Lawrence D'Oliveiro l...@geek-central.gen.new_zealand Subject: Re: Picking a license To: python-list@python.org Date: Thursday, May 13, 2010, 8:25 AM In message

Re: Picking a license

2010-05-13 Thread Paul Boddie
On 13 Mai, 01:58, Patrick Maupin pmau...@gmail.com wrote: On May 12, 6:15 pm, Paul Boddie p...@boddie.org.uk 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

Re: Broken pipe

2010-05-13 Thread Lie Ryan
On 05/13/10 22:41, Lawrence D'Oliveiro wrote: In message mailman.2720.1273210637.23598.python-l...@python.org, 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)

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 news1...@free.fr 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

Re: indexing lists/arrays question

2010-05-13 Thread Carey Tilden
On Thu, May 13, 2010 at 8:45 AM, a oxfordenergyservi...@googlemail.com wrote: On 13 May, 16:19, Tim Chase python.l...@tim.thechases.com 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

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 a
On 13 May, 17:41, Carey Tilden carey.til...@gmail.com wrote: On Thu, May 13, 2010 at 8:45 AM, a oxfordenergyservi...@googlemail.com wrote: On 13 May, 16:19, Tim Chase python.l...@tim.thechases.com wrote: On 05/13/2010 09:36 AM, a wrote: this must be easy but its taken me a couple of

Re: indexing lists/arrays question

2010-05-13 Thread a
On 13 May, 18:18, Tim Chase python.l...@tim.thechases.com 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

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: 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

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: walk directory ignore all files/directories begin with '.'

2010-05-13 Thread albert kao
On May 13, 3:10 pm, MRAB pyt...@mrabarnett.plus.com 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

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: 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 albertk...@gmail.com 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

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 albertk...@gmail.com 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 --

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

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 oxfordenergyservi...@googlemail.comwrote: I'm coding on an old windows laptop i write the code and double click the icon. it runs the program and writes

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

Re: stopping execution window on error - newbie

2010-05-13 Thread Mensanator
On May 13, 4:00 pm, a oxfordenergyservi...@googlemail.com 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

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: 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 see

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 l...@geek-central.gen.new_zealand 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

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

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

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 the GPL,

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 Ed Keith
--- On Thu, 5/13/10, Carl Banks pavlovevide...@gmail.com 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

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 beliefs in

Re: Picking a license

2010-05-13 Thread Aahz
In article 2d625c61-7a94-4c71-8953-69c3b3c76...@k29g2000yqh.googlegroups.com, Paul Boddie p...@boddie.org.uk 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

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 the

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 is

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, and

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 Lawrence D'Oliveiro
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 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 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 II: If person A is free do perform an action person B is not free to perform then

Re: Picking a license

2010-05-13 Thread Lawrence D'Oliveiro
In message mailman.133.1273757049.32709.python-l...@python.org, Ed Keith wrote: On Thu, 5/13/10, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: In message mailman.2834.1273453242.23598.python-l...@python.org, Ed Keith wrote: So if you want me to even consider using your

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 the

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: client to upload big files via https and get progress info

2010-05-13 Thread Sean DiZazzo
On May 13, 9:39 am, News123 news1...@free.fr wrote: Hi Aaaz, Aahz wrote: In article 4bea6b50$0$8925$426a7...@news.free.fr, News123  news1...@free.fr 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

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 half.ital...@gmail.com wrote: On May 13, 9:39 am, News123 news1...@free.fr wrote: Hi Aaaz, Aahz wrote: In article 4bea6b50$0$8925$426a7...@news.free.fr, News123  news1...@free.fr wrote: I'd like to perform huge file uploads via https. I'd like

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

2010-05-13 Thread J.O. Aho
News123 news1...@free.fr 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

[issue6610] Subprocess descriptor debacle

2010-05-13 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Thanks for the test! I'll take a look and likely commit this later. -- assignee: - gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6610

[issue8701] tarfile: first character of member names doubled

2010-05-13 Thread Lars Gustäbel
Changes by Lars Gustäbel l...@gustaebel.de: -- assignee: - lars.gustaebel nosy: +lars.gustaebel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8701 ___

[issue8678] crashers in rgbimg

2010-05-13 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: haypo: what's the relationship? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8678 ___

[issue8699] Equality and hashing for functools.partial

2010-05-13 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: Sorry, I realized I made a stupid mistake. (I didn't use PyList_Sort to sort the list in partial_hash.) Here is the corrected patch. -- Added file: http://bugs.python.org/file17315/partial_eq_hash_2.diff

[issue8701] tarfile: first character of member names doubled

2010-05-13 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: Unfortunately, I cannot reproduce your problem and ask you to please provide more information. Would it be possible to attach the output or a screenshot depicting the problem? Which operating system/distribution do you use? Have you

[issue8673] configure script doesn't recognize 10.5 SDK correctly

2010-05-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The issue is indeed gone in HEAD. I've also verified the other 3 active branches. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker

[issue7724] setup.py ignores SDK root on OSX

2010-05-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The attached version should fix the issue found by Stefan. I'm going to do builds on OSX as well as Linux before committing though. -- Added file: http://bugs.python.org/file17316/issue7724-v3.patch

[issue8126] Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac

2010-05-13 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've verified that HEAD for both 3.1 and 3.2 build fine now, hence this issue can be closed. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python

[issue8702] difflib: unified_diff produces wrong patches (again)

2010-05-13 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: If source/target file for unified format diff context doesn't end with new line, the diff should contain this marker: \ No newline at end of file Or else there is information loss when such patch is applied.

[issue8455] buildbot: test_urllib2_localnet failures (Connection refused) on Tiger buildbot

2010-05-13 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- assignee: - ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8455 ___ ___

[issue8703] Py3k PyList_Type documentation mentions types.ListType

2010-05-13 Thread Daniel Urban
New submission from Daniel Urban urban.dani...@gmail.com: The Py3k documentation of PyList_Type [1] contains the sentence: This is the same object as list and types.ListType in the Python layer. But there is no types.ListType object in py3k. [1]

[issue8702] difflib: unified_diff produces wrong patches (again)

2010-05-13 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +easy type: - behavior versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8702 ___

[issue8422] tiger buildbot: test_abspath_issue3426 failure (test_genericpath.py)

2010-05-13 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: afaict, it needs backport to 2.7. -- components: +Tests nosy: +flox stage: - commit review status: closed - open type: - crash versions: +Python 2.7 -Python 3.2 ___ Python tracker

[issue1481] test_uuid is warning about unreliable functions

2010-05-13 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1481 ___ ___

[issue6419] Broken test_kqueue.py on OpenBSD

2010-05-13 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6419 ___ ___ Python-bugs-list

[issue8704] cgitb sends a bogus HTTP header if the app crashes before finishing headers

2010-05-13 Thread Daniel Stutzbach
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com: If the CGI script crashes before finishing the headers, cgitb will emit invalid HTTP headers before showing the error message. Below are HTTP headers I received, captured with a packet sniffer. Note the --: spam. HTTP/1.1

[issue8704] cgitb sends a bogus HTTP header if the app crashes before finishing headers

2010-05-13 Thread Daniel Stutzbach
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8704 ___ ___

[issue8702] difflib: unified_diff produces wrong patches (again)

2010-05-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I think difflib is behaving as intended here; changing to feature request. Could you please clarify about the information loss? I'm not seeing it. As far as I can tell, the fact that unified_diff produces a list rather than a single

[issue8702] difflib: unified_diff produces wrong patches (again)

2010-05-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: It turns out that this problem was already reported in issue 2142 (which has a patch); closing as a duplicate. -- resolution: - duplicate status: open - closed superseder: - naive use of ''.join(difflib.unified_diff(...)) results

[issue2142] naive use of ''.join(difflib.unified_diff(...)) results in bogus diffs with inputs that don't end with end-of-line char (same with context_diff)

2010-05-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Closed 8702 as a duplicate of this one. Combining nosy lists. -- nosy: +mark.dickinson, techtonik ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2142

[issue2142] naive use of ''.join(difflib.unified_diff(...)) results in bogus diffs with inputs that don't end with end-of-line char (same with context_diff)

2010-05-13 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2142 ___ ___

[issue7449] A number tests crash if python is compiled --without-threads

2010-05-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Victor, I think one more skip is required in test_socketserver. -- nosy: +skrah resolution: fixed - status: closed - open Added file: http://bugs.python.org/file17317/nothreads-socketserver-shutdown.patch

[issue2142] difflib.unified_diff(...) produces invalid patches

2010-05-13 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: You mean that this patch sits in here for 2 years already? This suxx. And nobody added the tag 'easy', because people haven't explicitly requested tracker privileges? That suxx. And it won't be in 2.7 because of that.. I am

  1   2   >