Re: [Python-Dev] functools.compose to chain functions together

2009-08-18 Thread Steven D'Aprano
On Mon, 17 Aug 2009 07:14:05 pm Stefan Behnel wrote: Antoine Pitrou wrote: Raymond Hettinger python at rcn.com writes: IMO, its only virtue is that people coming from functional languages are used to having compose. Otherwise, it's a YAGNI. Then I wonder how partial() ended up in the

[Python-Dev] Mercurial migration: help needed

2009-08-18 Thread Martin v. Löwis
This is a repost from two weeks ago. It didn't get much feedback last time. I still keep trying, reposting to python-list also this time. In this thread, I'd like to collect things that ought to be done but where Dirkjan has indicated that he would prefer if somebody else did it. Item 1 --

Re: [Python-Dev] Mercurial migration: help needed

2009-08-18 Thread Dirkjan Ochtman
On Tue, Aug 18, 2009 at 10:12, Martin v. Löwismar...@v.loewis.de wrote: In this thread, I'd like to collect things that ought to be done but where Dirkjan has indicated that he would prefer if somebody else did it. I think the most important item here is currently the win32text stuff. Mark

Re: [Python-Dev] VC++ versions to match python versions?

2009-08-18 Thread David Cournapeau
On Mon, Aug 17, 2009 at 2:01 PM, David Bolendb3l@gmail.com wrote: Chris Withers ch...@simplistix.co.uk writes: Is the Express Edition of Visual C++ 2008 suitable for compiling packages for Python 2.6 on Windows? (And Python 2.6 itself for that matter...) Yes - it's currently being used

Re: [Python-Dev] Mercurial migration: help needed

2009-08-18 Thread Mark Hammond
On 18/08/2009 6:20 PM, Dirkjan Ochtman wrote: On Tue, Aug 18, 2009 at 10:12, Martin v. Löwismar...@v.loewis.de wrote: In this thread, I'd like to collect things that ought to be done but where Dirkjan has indicated that he would prefer if somebody else did it. I think the most important item

Re: [Python-Dev] Mercurial migration: help needed

2009-08-18 Thread Dirkjan Ochtman
On Tue, Aug 18, 2009 at 13:32, Mark Hammondmhamm...@skippinet.com.au wrote: I can make time, somewhat spasmodically, starting fairly soon.  Might I suggest that as a first task I can resurrect my old stale patch, and you can arrange to install win32text locally and start experimenting with how

Re: [Python-Dev] Mercurial migration: help needed

2009-08-18 Thread Brett Cannon
[stripping out python-list and Mark from the CC] On Tue, Aug 18, 2009 at 01:20, Dirkjan Ochtmandirk...@ochtman.nl wrote: On Tue, Aug 18, 2009 at 10:12, Martin v. Löwismar...@v.loewis.de wrote: In this thread, I'd like to collect things that ought to be done but where Dirkjan has indicated that

Re: [Python-Dev] Mercurial migration: help needed

2009-08-18 Thread Dirkjan Ochtman
On Tue, Aug 18, 2009 at 21:46, Brett Cannonbr...@python.org wrote: Can we possibly get these todo items in the PEP? I keep looking at the PEP out of habit to see what the blockers are and they are not there, at which point I have to dig up Martin's email. Will do. Cheers, Dirkjan

[Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard Library

2009-08-18 Thread Peter Moody
Howdy folks, I have a first draft of a PEP for including an IP address manipulation library in the python stdlib. It seems like there are a lot of really smart folks with some, ahem, strong ideas about what an IP address module should and shouldn't be so I wanted to solicit your input on this

Re: [Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard Library

2009-08-18 Thread Oleg Broytmann
http://ipaddr-py.googlecode.com/svn/branches/2.0.x/ipaddr.py : def IP(address, host=False, version=None): Take an IP string/int and return an object of the correct type. Args: ip_str: ... The arg is 'address', not 'ip_str'. There are two classes, IPv4 and IPv6 whose

Re: [Python-Dev] VC++ versions to match python versions?

2009-08-18 Thread Martin v. Löwis
Ditto for 2.5, 3.1 and the trunk (which I guess becomes 3.2?) 2.5 needs VS 2003. The 64 bits version of 2.5 is built with VS 2005, though. Not really - it is built with the compiler in the platform SDK. Regards, Martin ___ Python-Dev mailing list

Re: [Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard Library

2009-08-18 Thread Oleg Broytmann
On Tue, Aug 18, 2009 at 01:53:36PM -0700, Peter Moody wrote: hold over from when I was trying to be too fancy. fixed as well. Thank you. The PEP and the code is Ok for me. Something like this should be in the stdlib. Currently I'm using IPy. Oleg. -- Oleg Broytmann

Re: [Python-Dev] Mercurial migration: help needed

2009-08-18 Thread Dj Gilcrease
On Tue, Aug 18, 2009 at 2:12 AM, Martin v. Löwismar...@v.loewis.de wrote: The second item is line conversion hooks. Dj Gilcrease has posted a solution which he considers a hack himself. Mark Hammond has also volunteered, but it seems some volunteer needs to be in charge, keeping track of a

Re: [Python-Dev] PEP 3144: IP Address Manipulation Library for the Python Standard Library

2009-08-18 Thread Peter Moody
On Tue, Aug 18, 2009 at 1:34 PM, Oleg Broytmannp...@phd.pp.ru wrote: http://ipaddr-py.googlecode.com/svn/branches/2.0.x/ipaddr.py : def IP(address, host=False, version=None):     Take an IP string/int and return an object of the correct type.     Args:         ip_str: ...   The arg is