gevent 0.13.2 released

2011-01-28 Thread Denis Bilenko
Hi! I'm happy to announce that Gevent 0.13.2 is released with a number of bug fixes and a new gevent.httplib module that implements fast HTTP client - wrapper around libevent-http. What is it? gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Grant Edwards invalid@invalid.invalid So you're saying that you don't see any value in easing communication, nor presumably in communication itself? No, I don't want to say that, but I want to say that if it is obviously that the others don't care about the main issue discussed, then the

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Grant Edwards invalid@invalid.invalid You said that you don't care about convincing anybody either that accessibility is import or about convincing anybody to do anything about it. To me that means you don't care about accessiblity. And you are wrong. If you don't try to convince

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Terry Reedy tjre...@udel.edu For example: pygui pretty much uses native widgets on Windows and OX and gtk (I believe) on *nix. How is the accessibility of those widget sets *as accessed through pygui*? Is it different from the 'native' accessibility of each of those set? Thank you for

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Giampaolo Rodolà g.rod...@gmail.com ... py2exe offers the following installation kits, depending on the Python version. If you know, please tell me why there are different packages for different versions of Python? py2exe-0.6.9.win32-py2.5.exe py2exe-0.6.9.win32-py2.4.exe

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Grant Edwards invalid@invalid.invalid A very important way to help would be to test accessibility features and post accurate, detailed, bug-reports. I am willing to do that. I have tested that program made with WxPython and I have posted here what I found, hoping that there will appear

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Littlefield, Tyler ty...@tysdomain.com what JAWS insert rest of bullshit here Tyler, did I used bad words in my posts as you do now? I didn't, but the other list members told me that my atitude is not good, that I am not civilized, because I have a different opinion than them. I am sure

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Littlefield, Tyler ty...@tysdomain.com Because healthy Linux users ARE NOT equal to handicapped people! O? I bet I could run circles around RR in the shell, any day. Why are you trying to promote accessibility for a group of people you consider not equal to a group of healthy people?

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Corey Richardson kb1...@aim.com wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard Python GUI toolkit is that Tkinter was there first. -- Guido van Rossum Oh, how can Guido say this about that bad

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Terry Reedy tjre...@udel.edu wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard Python GUI toolkit is that Tkinter was there first. -- Guido van Rossum (from http://www.wxpython.org/quotes.php) Of

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Grant Edwards invalid@invalid.invalid I think there are a lot of people who think that including a GUI in the standard library was a mistake and the best solution would be to get rid of Tkinter and replace it with nothing. If I were Guido and thought that, I'd probably keep mum about it

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: alex23 wuwe...@gmail.com Octavian Rasnita orasn...@gmail.com wrote: Ok, in this case I understand why WxPython can't be included in stdlib. I think there was a communication problem because the oldest list members start with the idea that all the list members know who is who and they may

Re: dictionary error: list assignment index out of range

2011-01-28 Thread Octavian Rasnita
From: Vaduvoiu Tiberiu Well, to quote firefox: this is embarrassing. I've realized the dictionary initialization is wrong, as [] means its a tuple, I should use {}. That's why I don't like working nights..it's only in the morning when you start seeing things better. I apologize for the

Re: Behaviour-based interface/protocol implementation?

2011-01-28 Thread Alan Franzoni
On Thu, Jan 27, 2011 at 11:41 PM, Daniel Urban urban.d...@gmail.com wrote: Actually it can. You don't have to modify the object, just check for the desired methods/signature/whatever. See for example the implementation of collections.Hashable.__subclasshook__ in _abcoll.py and the

Algorithm for generating pitch-class sets in prime form

2011-01-28 Thread John O'Hagan
I'm looking for some help coming up with an algorithm to produce lists which meet the following criterion (you don't need to know music to get this): In musical pitch-class set theory, prime form is defined as the most tightly- packed-to-the-left rotation of a set's interval structure. Prime

Re: Behaviour-based interface/protocol implementation?

2011-01-28 Thread Daniel Urban
On Fri, Jan 28, 2011 at 11:32, Alan Franzoni mail...@franzoni.eu wrote: On Thu, Jan 27, 2011 at 11:41 PM, Daniel Urban urban.d...@gmail.com wrote: Actually it can. You don't have to modify the object, just check for the desired methods/signature/whatever. See for example the implementation of

Re: WxPython versus Tkinter.

2011-01-28 Thread Littlefield, Tyler
Exactly what I said. They are doing the same mistake as I did 20 years ago. and are still making now... Lack of English and grammar isn't the problem... -- http://mail.python.org/mailman/listinfo/python-list

Re: how to read the last line of a huge file???

2011-01-28 Thread kost BebiX
26.01.2011, 12:59, Xavier Heruacles xheruac...@gmail.com: I have do some log processing which is usually huge. The length of each line is variable. How can I get the last line?? Don't tell me to use readlines or something like linecache... --

Re: WxPython versus Tkinter.

2011-01-28 Thread Littlefield, Tyler
Yes but his silence speaks louder than words. He is saying While i won't defend Tkinter publicly, i won't promote any others as well. That's the best translation I've ever heard: taking silence and diverting it into your own meaning for what you want it to mean. --

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: rusi rustompm...@gmail.com Its quite clear to everyone here that -- Octavian has no interest in a 21st century snazzy-looking toolkit Oh well I am interested, but with the condition that toolkit to be accessible, however Tkinter is not. Is it too much to expect from a 21st century

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Stephen Hansen me+list/pyt...@ixokai.io Seriously. Octavian's attitude in this thread makes me want to go use Tkinter just to spite him. Oh yes? And this would probably mean that your atitude is a very good and normal one, right? Octavian --

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Littlefield, Tyler ty...@tysdomain.com * Disclaimer: You are stupid if you think this is true. But seriously, Octavian makes it REALLY hard to continue caring about something that I actually cared about before and thought was important. When I told about what the community of the blind

Re: WxPython versus Tkinter.

2011-01-28 Thread Octavian Rasnita
From: Littlefield, Tyler ty...@tysdomain.com Yes but his silence speaks louder than words. He is saying While i won't defend Tkinter publicly, i won't promote any others as well. That's the best translation I've ever heard: taking silence and diverting it into your own meaning for what you

Re: WxPython versus Tkinter.

2011-01-28 Thread rantingrick
On Jan 28, 2:33 am, Octavian Rasnita orasn...@gmail.com wrote: From: Terry Reedy tjre...@udel.edu For example: pygui pretty much uses native widgets on Windows and OX and gtk (I believe) on *nix. How is the accessibility of those widget sets *as accessed through pygui*? Is it different

Re: WxPython versus Tkinter.

2011-01-28 Thread rantingrick
On Jan 27, 12:13 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: Seriously. Octavian's attitude in this thread makes me want to go use Tkinter just to spite him. And I'm net-buds with Tyler, and I'm working on a project that I thought accessibility for the blind was very important for. But

Re: WxPython versus Tkinter.

2011-01-28 Thread rantingrick
On Jan 27, 3:49 pm, Littlefield, Tyler ty...@tysdomain.com wrote:  Yes but his silence speaks louder than words. He is saying While i  won't defend Tkinter publicly, i won't promote any others as well. That's the best translation I've ever heard: taking silence and diverting it into your own

Re: Bugs/issues in tkinter.simpledialog!!

2011-01-28 Thread Jerry Hill
On Fri, Jan 28, 2011 at 12:34 AM, rantingrick rantingr...@gmail.com wrote: Well i tried searching for Tkinter issues on the tracker and just got annoyed quickly and left. It seems far to complicated to do searches with this software. You should apply some of the persistence that you show on

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-28 Thread bansi
On Jan 26, 8:31 pm, MRAB pyt...@mrabarnett.plus.com wrote: On 27/01/2011 00:57, bansi wrote: On Jan 26, 6:25 pm, Ethan Furmanet...@stoneleaf.us  wrote: bansi wrote:    First namelookupWrapper.py running under Python 2.6 accept arguments    from stdin and uses csv reader object to

Re: Bugs/issues in tkinter.simpledialog!!

2011-01-28 Thread Giampaolo Rodolà
2011/1/26 rantingrick rantingr...@gmail.com: I just installed Python 3,0 on my machine. I cannot use 3.0 exclusively yet however i was interested in just poking around and acquiring a taste if you will. I was happy to find that the new Tkinter module names now follow convention and are placed

Re: WxPython versus Tkinter.

2011-01-28 Thread Grant Edwards
On 2011-01-28, Octavian Rasnita orasn...@gmail.com wrote: How can we talk about etiquette when exactly this etiquette is the one that needs to be changed? Huh? As you say, the etiquette is in favor of the preferences of the majority, but how should react someone, what he/she should say in

Re: WxPython versus Tkinter.

2011-01-28 Thread Bryan
On Jan 28, 8:18 am, rantingrick rantingr...@gmail.com wrote: On Jan 27, 12:13 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: Seriously. Octavian's attitude in this thread makes me want to go use Tkinter just to spite him. And I'm net-buds with Tyler, and I'm working on a project that I

Re: WxPython versus Tkinter.

2011-01-28 Thread Grant Edwards
On 2011-01-28, Octavian Rasnita orasn...@gmail.com wrote: From: Stephen Hansen me+list/pyt...@ixokai.io Seriously. Octavian's attitude in this thread makes me want to go use Tkinter just to spite him. Oh yes? And this would probably mean that your atitude is a very good and normal one,

Re: WxPython versus Tkinter.

2011-01-28 Thread Grant Edwards
On 2011-01-28, Octavian Rasnita orasn...@gmail.com wrote: From: Grant Edwards invalid@invalid.invalid A very important way to help would be to test accessibility features and post accurate, detailed, bug-reports. I am willing to do that. I have tested that program made with WxPython and I

Re: A http server

2011-01-28 Thread Diez B. Roggisch
Back9 backgoo...@gmail.com writes: Hi, I'm trying to set up a http server to handle a single POST request. That POST request is to upload a huge file and the server is supposed to handle it with the just POST request. With my python sample code, multiple post requests are working well, but

Re: WxPython versus Tkinter.

2011-01-28 Thread Kevin Walzer
On 1/28/11 9:18 AM, rantingrick wrote: Everyone on this list knows that Kevin and myself are the *only* people who know how to wield Tkinter past some simple utility GUI's. I strongly disagree with this statement. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com --

Re: WxPython versus Tkinter.

2011-01-28 Thread Bryan
On Jan 28, 10:16 am, Kevin Walzer k...@codebykevin.com wrote: On 1/28/11 9:18 AM, rantingrick wrote: Everyone on this list knows that Kevin and myself are the *only* people who know how to wield Tkinter past some simple utility GUI's. I strongly disagree with this statement. (BTW, Kevin,

Re: WxPython versus Tkinter.

2011-01-28 Thread Stephen Hansen
On 1/28/11 6:18 AM, rantingrick wrote: On Jan 27, 12:13 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: Seriously. Octavian's attitude in this thread makes me want to go use Tkinter just to spite him. And I'm net-buds with Tyler, and I'm working on a project that I thought accessibility

Re: WxPython versus Tkinter.

2011-01-28 Thread MRAB
On 28/01/2011 08:34, Octavian Rasnita wrote: From: Littlefield, Tyler ty...@tysdomain.com what JAWS insert rest of bullshit here Tyler, did I used bad words in my posts as you do now? I didn't, but the other list members told me that my atitude is not good, that I am not civilized, because I

Use the Source Luke

2011-01-28 Thread Raymond Hettinger
I hoping a new trend will start with dev's putting direct source code links in their documentation: http://rhettinger.wordpress.com/2011/01/28/open-your-source-more/ I'm looking for more examples of projects that routinely link their docs back into relavant sections of code. Have any of you all

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-28 Thread bansi
On Jan 28, 9:46 am, bansi mail2ba...@gmail.com wrote: On Jan 26, 8:31 pm, MRAB pyt...@mrabarnett.plus.com wrote: On 27/01/2011 00:57, bansi wrote: On Jan 26, 6:25 pm, Ethan Furmanet...@stoneleaf.us  wrote: bansi wrote:    First namelookupWrapper.py running under Python 2.6

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-28 Thread Benjamin Kaplan
On Fri, Jan 28, 2011 at 1:33 PM, bansi mail2ba...@gmail.com wrote: On Jan 28, 9:46 am, bansi mail2ba...@gmail.com wrote: On Jan 26, 8:31 pm, MRAB pyt...@mrabarnett.plus.com wrote: On 27/01/2011 00:57, bansi wrote: On Jan 26, 6:25 pm, Ethan Furmanet...@stoneleaf.us  wrote: bansi

can't use multiprocessing with class factory?

2011-01-28 Thread Alan
Can the below example be fixed to work? Thanks, Alan Isaac import multiprocessing as mp class Test(object): pass def class_factory(x): class ConcreteTest(Test): _x = x return ConcreteTest def f(cls): print cls._x if __name__ == '__main__': pool = mp.Pool(2)

Re: can't use multiprocessing with class factory?

2011-01-28 Thread Robert Kern
On 1/28/11 1:02 PM, Alan wrote: Can the below example be fixed to work? Thanks, Alan Isaac import multiprocessing as mp class Test(object): pass def class_factory(x): class ConcreteTest(Test): _x = x return ConcreteTest def f(cls): print cls._x if __name__ ==

Re: can't use multiprocessing with class factory?

2011-01-28 Thread Daniel Urban
On Fri, Jan 28, 2011 at 20:02, Alan alan.is...@gmail.com wrote: Can the below example be fixed to work? Thanks, Alan Isaac import multiprocessing as mp class Test(object):    pass def class_factory(x):    class ConcreteTest(Test):        _x = x    return ConcreteTest def f(cls):    

Re: can't use multiprocessing with class factory?

2011-01-28 Thread Hidura
What is the output? 2011/1/28, Alan alan.is...@gmail.com: Can the below example be fixed to work? Thanks, Alan Isaac import multiprocessing as mp class Test(object): pass def class_factory(x): class ConcreteTest(Test): _x = x return ConcreteTest def f(cls):

Re: can't use multiprocessing with class factory?

2011-01-28 Thread Robert Kern
On 1/28/11 1:25 PM, Daniel Urban wrote: Only classes defined on the top level of a module are picklable (see http://docs.python.org/dev/py3k/library/pickle#what-can-be-pickled-and-unpickled ). The collections.namedtuple class factory function works around this limitation by setting the

Question on Python Freelance Projects in NLP and Machine Learning

2011-01-28 Thread joy99
Dear Room, I am a Python programmer from India. I am looking for some freelance Python projects, preferably in Natural Language Processing and Machine Learning. If any one knows of it, please let me know. Best Regards, Subhabrata Banerjee. -- http://mail.python.org/mailman/listinfo/python-list

Re: Bugs/issues in tkinter.simpledialog!!

2011-01-28 Thread rantingrick
On Jan 28, 8:52 am, Giampaolo Rodolà g.rod...@gmail.com wrote: Why don't you file a ticket on the bug tracker instead of wasting yours and other people's time here by making appear another rant against Tkinter as a bug report? Why don't you instead thank me for helping out instead of jumping

Re: can't use multiprocessing with class factory?

2011-01-28 Thread Alan
On Jan 28, 2:23 pm, Robert Kern robert.k...@gmail.com wrote: Send the (pickleable) factory and the arguments used to construct the instance, not the unpickleable instance itself. def g(factory, i): cls = factory(i) print cls._x if __name__ == '__main__': pool =

Re: Use the Source Luke

2011-01-28 Thread Giampaolo Rodolà
2011/1/28 Raymond Hettinger pyt...@rcn.com: I hoping a new trend will start with dev's putting direct source code links in their documentation:  http://rhettinger.wordpress.com/2011/01/28/open-your-source-more/ I'm looking for more examples of projects that routinely link their docs back

Re: Bugs/issues in tkinter.simpledialog!!

2011-01-28 Thread Benjamin Kaplan
On Fri, Jan 28, 2011 at 3:24 PM, rantingrick rantingr...@gmail.com wrote: On Jan 28, 8:52 am, Giampaolo Rodolà g.rod...@gmail.com wrote: Why don't you file a ticket on the bug tracker instead of wasting yours and other people's time here by making appear another rant against Tkinter as a bug

Re: Bugs/issues in tkinter.simpledialog!!

2011-01-28 Thread Jerry Hill
On Fri, Jan 28, 2011 at 3:24 PM, rantingrick rantingr...@gmail.com wrote: Why don't you instead thank me for helping out instead of jumping to irate conclusions? It would *seem* that if YOU cared about the future of Python you would be more *accepting* of my help. But you have not, in fact,

Re: WxPython versus Tkinter.

2011-01-28 Thread rantingrick
On Jan 28, 9:52 am, Grant Edwards inva...@invalid.invalid wrote: [plonk] Why is it necessarily for you guys to advertise when you plonk. Just plonk and shut up about it. Nobody cares what you do with your own incoming email. Really, are you that self centered as to think we actually care?

Re: Use the Source Luke

2011-01-28 Thread Paul Rubin
Raymond Hettinger pyt...@rcn.com writes: http://rhettinger.wordpress.com/2011/01/28/open-your-source-more/ I'm looking for more examples of projects that routinely link their docs back into relavant sections of code. Have any of you all seen other examples besides the Go language docs and

Re: WxPython versus Tkinter.

2011-01-28 Thread Terry Reedy
On 1/28/2011 3:33 AM, Octavian Rasnita wrote: From: Terry Reedy tjre...@udel.edu For example: pygui pretty much uses native widgets on Windows and OX and gtk (I believe) on *nix. How is the accessibility of those widget sets *as accessed through pygui*? Is it different from the 'native'

Re: WxPython versus Tkinter.

2011-01-28 Thread rantingrick
On Jan 28, 10:16 am, Kevin Walzer k...@codebykevin.com wrote: On 1/28/11 9:18 AM, rantingrick wrote: Everyone on this list knows that Kevin and myself are the *only* people who know how to wield Tkinter past some simple utility GUI's. I strongly disagree with this statement. Whether you

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-28 Thread bansi
On Jan 28, 1:52 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote: On Fri, Jan 28, 2011 at 1:33 PM, bansi mail2ba...@gmail.com wrote: On Jan 28, 9:46 am, bansi mail2ba...@gmail.com wrote: On Jan 26, 8:31 pm, MRAB pyt...@mrabarnett.plus.com wrote: On 27/01/2011 00:57, bansi wrote: On

Re: Use the Source Luke

2011-01-28 Thread Rui Maciel
Raymond Hettinger wrote: Have any of you all seen other examples besides the Go language docs and the Python docs? Wasn't doxygen developed with that in mind? Rui Maciel -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-28 Thread rantingrick
On Jan 28, 2:37 pm, Terry Reedy tjre...@udel.edu wrote: On 1/28/2011 3:33 AM, Octavian Rasnita wrote: Get the library and its documentation included in the core Python distribution, so that truly cross-platform GUI applications may be written that will run on any Python installation,

Re: WxPython versus Tkinter.

2011-01-28 Thread Littlefield, Tyler
Man look at the state of Tkinter. Look at the bugs and mediocre code i exposed. Are you going to set there with a strait face and tell me many people are using Tkinter. Come on Kevin, be realistic! You also uncovered bugs in WX (remember those segfaults, RR)? On 1/28/2011 1:35 PM, rantingrick

Re: WxPython versus Tkinter.

2011-01-28 Thread Stephen Hansen
On 1/28/11 12:35 PM, rantingrick wrote: The fact remains. The word fact does not mean what you think it means. -- Stephen Hansen ... Also: Ixokai ... Mail: me+list/python (AT) ixokai (DOT) io ... Blog: http://meh.ixokai.io/ signature.asc Description: OpenPGP digital signature

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-28 Thread Benjamin Kaplan
On Fri, Jan 28, 2011 at 3:42 PM, bansi mail2ba...@gmail.com wrote: On Jan 28, 1:52 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote: On Fri, Jan 28, 2011 at 1:33 PM, bansi mail2ba...@gmail.com wrote: On Jan 28, 9:46 am, bansi mail2ba...@gmail.com wrote: On Jan 26, 8:31 pm, MRAB

Re: Bugs/issues in tkinter.simpledialog!!

2011-01-28 Thread rantingrick
On Jan 28, 2:34 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote: It's not that people don't appreciate your help. First: Thanks for the reasonable response. It's that the mailing list is not the appropriate place for this type of discussion. Actually i see you point but there is a good

Re: A and B but not C in list

2011-01-28 Thread CM
Thanks, everyone, for your suggestions. -Che -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-28 Thread rantingrick
Rick: Man look at the state of Tkinter. Look at the bugs and mediocre code i exposed. Are you going to set there with a strait face and tell me many people are using Tkinter. Come on Kevin, be realistic! Tyler: You also uncovered bugs in WX (remember those segfaults, RR)? Yes i do, and i

Re: WxPython versus Tkinter.

2011-01-28 Thread Christian Tismer
On 1/25/11 12:04 AM, Steven D'Aprano wrote: On Mon, 24 Jan 2011 12:24:24 -0800, Robin Dunn wrote: On Jan 24, 12:03 pm, rantingrickrantingr...@gmail.com wrote: On Jan 24, 1:57 pm, Robin Dunnro...@alldunn.com wrote: BTW, on behalf of the wxPython community I'd like to apologize for the havoc

Re: Use the Source Luke

2011-01-28 Thread Ben Finney
Raymond Hettinger pyt...@rcn.com writes: I hoping a new trend will start with dev's putting direct source code links in their documentation: http://rhettinger.wordpress.com/2011/01/28/open-your-source-more/ That's a good article overall. I have a quibble with the framing: The rest of the

Determining calculation order for group of related calculations

2011-01-28 Thread python
Wondering if there's a Python library or algorithm for determining the order in which a group of calculations should be performed when some calculations reference the result of other equations. I don't need anything as fancy as a spreadsheet engine, however I do need to detect recursive equations

Re: Determining calculation order for group of related calculations

2011-01-28 Thread Ian Kelly
On Fri, Jan 28, 2011 at 4:29 PM, pyt...@bdurham.com wrote: Wondering if there's a Python library or algorithm for determining the order in which a group of calculations should be performed when some calculations reference the result of other equations. I don't need anything as fancy as a

Re: Use the Source Luke

2011-01-28 Thread Jack Diederich
On Fri, Jan 28, 2011 at 1:32 PM, Raymond Hettinger pyt...@rcn.com wrote: I hoping a new trend will start with dev's putting direct source code links in their documentation:  http://rhettinger.wordpress.com/2011/01/28/open-your-source-more/ I'm looking for more examples of projects that

Re: Determining calculation order for group of related calculations

2011-01-28 Thread python
Ian, A google search for python topological sort returns lots of results. Perfect!! That's exactly what I was looking for but couldn't manage to put a name to. Cheers, Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: Use the Source Luke

2011-01-28 Thread Ben Finney
Jack Diederich jackd...@gmail.com writes: I think you overestimate how common it used to be to carry around the sourcecode for the software you use compared to now; In the past it wasn't even always possible - if the Sun cc compiler core dumps you have no recourse to code. Note that Raymond

Re: Use the Source Luke

2011-01-28 Thread Raymond Hettinger
[Jack Diedrich] I think you overestimate how common it used to be to carry around the sourcecode for the software you use compared to now;  In the past it wasn't even always possible - if the Sun cc compiler core dumps you have no recourse to code. You're right of course. For the Python

Employments Chance in Management work.

2011-01-28 Thread gaurav
The Greatest site to Start your own Work from Home earn start earning. http://rojgars1.webs.com/gov.htmhttp://rojgars.webs.com/bankingjobs.htm Great earning in Management careers. Sales and Management work. http://managementjobs.webs.com/pm.htm

Re: WxPython versus Tkinter.

2011-01-28 Thread rusi
On Jan 27, 10:47 pm, Grant Edwards inva...@invalid.invalid wrote: So you're saying that you don't see any value in easing communication, nor presumably in communication itself? A Goedel-ian meta-recursion problem here Grant: You want to communicate the need for communication to one who does

Re: Use the Source Luke

2011-01-28 Thread rusi
On Jan 29, 4:10 am, Ben Finney ben+pyt...@benfinney.id.au wrote: Note that Raymond is speaking specifically in the context of free software, where the license is by definition permitting free redistribution of the source code. It is an obvious necessary condition that for code to be opened it

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: After some investigation of running make_buildinfo standalone, it boils down to this: When it executes the path with quotes around the last argument: C:\Program Files\TortoiseSVN\bin\subwcrev.exe .. ..\Modules\getbuildinfo.c

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Could this be some bizzarre bug in the quote parser of cmd.exe? Yes, this is even documented with cmd /?: [...]If you specify /c or /k, cmd processes the remainder of string and quotation marks are preserved only if all of the

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Amaury, seems like it - thanks. So I suppose the fix would be just to remove the quotes in make_buildinfo.c I wonder why it worked for others buildbots? -- ___ Python tracker rep...@bugs.python.org

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11034 ___ ___ Python-bugs-list

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +krisvale ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11034 ___ ___ Python-bugs-list mailing

[issue10501] make_buildinfo regression with unquoted path

2011-01-28 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Please see issue 11034 -- nosy: +eli.bendersky status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10501 ___

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Martin
Martin gzl...@googlemail.com added the comment: Removing the quotes rebreaks the case where tmppath contains a space. Instead, either: * Call subwcrev.exe directly without going through COMSPEC: switch 'system' to 'CreateProcess'. * More quotes! Change `A .. B` to `A .. B` which when it hits

[issue11024] imaplib: Time2Internaldate() returns localized strings

2011-01-28 Thread Sebastian Spaeth
Sebastian Spaeth sebast...@sspaeth.de added the comment: Added file: imaplib_Time2Internaldate_locale_fix.patch The patch looks very good to me and works. I agree that we should be returning a bytearray but this is should not be part of this issue. For all that it's worth: Signed-off-by:

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Bizarre indeed. I think more quotes is the answer, since it is simpler to implement. But the question remains, why has it worked until now? -- ___ Python tracker rep...@bugs.python.org

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Martin
Martin gzl...@googlemail.com added the comment: This bug only hits people who: 1) Have TortoiseSVN installed (buildbots won't, I don't) 2) ...on a path that needs quoting. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11034

[issue11015] Bring test.support docs up to date

2011-01-28 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: verbose isn't a boolean at all - it's an integer. You can supply it multiple times to bump the logging level up even higher than normal. ~/devel/py3k/Lib/test$ grep verbose *.py regrtest.py:if self.verbose 1:

[issue10765] Build regression from automation changes on windows

2011-01-28 Thread Martin
Martin gzl...@googlemail.com added the comment: My build is still affected by this, can you find some time to look at the attached patch please? Relevant bit of log is: Performing Makefile project actions Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft

[issue6203] 3.x locale does not default to C, contrary to the documentation and to 2.x behavior

2011-01-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Python can be embedded into other applications and unconditionally changing the locale (esp. the LC_CTYPE) is not good practice, since it's not thread-safe and affects the entire process. An application may have set LC_CTYPE (or the locale)

[issue11022] locale.setlocale() doesn't change I/O codec, os.environ

2011-01-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: upon program startup, init LibC environment: setlocale(LC_ALL, ); Python 3 does something like that: Py_InitializeEx() calls setlocale(LC_CTYPE,

[issue10940] IDLE 3.2 hangs with Cmd-M hotkey on OS X 10.6 with 64-bit installer and A/S Tk 8.5

2011-01-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: After more investigation, I found that my original speculation about a Cmd-M conflict with Cocoa Tk 8.5 was not correct. And the problem is not just limited to the keyboard accelerator for the Open Module command; it can also be seen with the keyboard

[issue6203] 3.x locale does not default to C, contrary to the documentation and to 2.x behavior

2011-01-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: An clean alternative would be adding LC_* variable parsing code to Python to avoid the setlocale() call altogether. That would be highly non-portable, and repeat the mistakes of getdefaultlocale. -- title: 3.x locale does not

[issue11035] Segmentation fault

2011-01-28 Thread Dmitry Groshev
New submission from Dmitry Groshev lambdadmi...@gmail.com: Here is a console output: si14@si14-work:~/repos/monitoring/root$ python2.7 server.py 127.0.0.1 - - [2011-01-28 12:29:30] GET /update HTTP/1.1 200 320 - Python-urllib/2.7

[issue11035] Segmentation fault

2011-01-28 Thread Dmitry Groshev
Dmitry Groshev lambdadmi...@gmail.com added the comment: I should also say that this bug appears at first time, but it doesn't make it less scary. The packet that crashed python was the same as the one shown and I've already used this tiny server for a day or two without modifications, so it

[issue11035] Segmentation fault

2011-01-28 Thread Dmitry Groshev
Dmitry Groshev lambdadmi...@gmail.com added the comment: Ok, I've played with this some more and got some more segmenation faults. It looks like a gevent problem, but I think that python shouldn't completely fall so easy. Here is more traces: si14@si14-work:~/repos/monitoring/root$ python2.7

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Martin, This makes sense, but keep in mind that: 1) Many, if indeed not *most* Windows SVN users use TortoiseSVN (and our dev guide recommends it, IIRC) 2) When TortoiseSVN *is* installed, it almost always goes into Program Files (its default

[issue11034] Build problem on Windows with MSVC++ Express 2008

2011-01-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Kristján - will you submit a patch for review? (this issue seems like a release blocker to me - but I'll leave it to Georg to decide on setting its priority) I wouldn't say it's a release blocker: I can build Python just fine, so the

[issue11027] Implement sectionxform in configparser

2011-01-28 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Kunjesh, first of all many thanks for your feedback! A bit of advice, though. I have myself made the mistake of calling features I personally want as often needed. The reality is that they are not often needed if they weren't reported before.

[issue11036] Allow multiple files in the description-file metadata

2011-01-28 Thread Gael Pasgrimaud
New submission from Gael Pasgrimaud g...@gawel.org: It can be usefull to allow more than one file in the description-file metadata so people can concatenate README and CHANGES file. -- assignee: tarek components: Distutils2 messages: 127272 nosy: eric.araujo, gawel, tarek priority:

[issue10940] IDLE 3.2 hangs with Cmd-M hotkey on OS X 10.6 with 64-bit installer and A/S Tk 8.5

2011-01-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Why don't we just remove IDLE... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10940 ___ ___

  1   2   3   >