[Python-Dev] Doctests REPORT_ONLY_FIRST_FAILURE ignored

2010-04-20 Thread Lennart Regebro
If you set up any sort of report flag on the unit test itself, the default report flags given to the testrunner are ignored. This goes for all report flags, the REPORT_xDIFF and REPORT_ONLY_FIRST_FAILURE. I'd suggest that we do allow the testrunner to set REPORT_ONLY_FIRST_FAILURE by default even i

Re: [Python-Dev] Python 2.7b1 and argparse's version action

2010-04-20 Thread Stephen J. Turnbull
Tobias Herp writes: > (we use Python because it is convenient!), Speak for yourself, I want no part of that "we". I use Python because it's well defined and well documented and makes sense and provides powerful operations and runs quickly enough in those applications where I use it. The fact t

Re: [Python-Dev] argparse ambiguity handling

2010-04-20 Thread Cameron Simpson
On 20Apr2010 15:27, Neal Becker wrote: | Steven Bethard wrote: | | > On Tue, Apr 20, 2010 at 11:55 AM, Neal Becker wrote: | >> I've noticed argparse ambiguity handling has changed a bit over last few | >> revisions. | >> | >> I have cases where 1 valid input is a prefix of another: | >> | >> e.g

Re: [Python-Dev] Python 2.7b1 and argparse's version action

2010-04-20 Thread Tobias Herp
"Martin v. Löwis" schrieb: >> - many optparse programs use the version argument >> - many other programmers find this feature very convenient >> - dropping or deprecating this is a totally unnecessary change >> (I have not read a single real reason /why/ this should be done). > > You actually br

Re: [Python-Dev] Python 2.7b1 and argparse's version action

2010-04-20 Thread Tobias Herp
Nick Coghlan schrieb: > Tobias Herp wrote: >> No deprecation or removal of the simple and convenient 'version' >> argument is needed for this. Just omit it, and build your version >> action yourself. But please notice that there are others who appreciate >> this simple way to do it and don't need

Re: [Python-Dev] Python 2.7b1 and argparse's version action

2010-04-20 Thread Martin v. Löwis
Nick Coghlan wrote: > Tobias Herp wrote: >> No deprecation or removal of the simple and convenient 'version' >> argument is needed for this. Just omit it, and build your version >> action yourself. But please notice that there are others who appreciate >> this simple way to do it and don't need m

Re: [Python-Dev] Python 2.7b1 and argparse's version action

2010-04-20 Thread Nick Coghlan
Tobias Herp wrote: > No deprecation or removal of the simple and convenient 'version' > argument is needed for this. Just omit it, and build your version > action yourself. But please notice that there are others who appreciate > this simple way to do it and don't need more. One Obvious Way. In

Re: [Python-Dev] Binary Compatibility Issue with Python v2.6.5 and v3.1.2

2010-04-20 Thread Martin v. Löwis
>> As a starting point for further research, try the sxstrace utility of >> your Vista installation. > > What Vista installation? XP I'm afraid... Then you are out of look. Check the event log, and ask in Windows help forums for better ways to analyse the problem. Regards, Martin ___

Re: [Python-Dev] Python 2.7b1 and argparse's version action

2010-04-20 Thread Tobias Herp
Barry Warsaw schrieb: > On Apr 18, 2010, at 07:30 PM, Eric Smith wrote: > >> Steven Bethard wrote: >>> By the way, we could simplify the typical add_argument usage by adding >>> "show program's version number and exit" as the default help for the >>> 'version' action. Then you should just write: >

Re: [Python-Dev] Binary Compatibility Issue with Python v2.6.5 and v3.1.2

2010-04-20 Thread Phil Thompson
On Tue, 20 Apr 2010 22:24:44 +0200, "Martin v. Löwis" wrote: > Phil Thompson wrote: >> When I build my C++ extension on Windows (specifically PyQt with MinGW) >> against Python v2.6.5 it fails to run under v2.6.4. The same problem >> exists >> when building against v3.1.2 and running under v3.1.1.

Re: [Python-Dev] Planning a Windows buildbot

2010-04-20 Thread Martin v. Löwis
Antoine Pitrou wrote: > Martin v. Löwis v.loewis.de> writes: >> As for the operating system: I don't think it matters at all. Windows XP >> Home is as fine a platform for this application as Windows 2008 R2 >> Enterprise. What would matter is processor architecture - we don't have >> an Itanium Wi

Re: [Python-Dev] Planning a Windows buildbot

2010-04-20 Thread Antoine Pitrou
Martin v. Löwis v.loewis.de> writes: > > As for the operating system: I don't think it matters at all. Windows XP > Home is as fine a platform for this application as Windows 2008 R2 > Enterprise. What would matter is processor architecture - we don't have > an Itanium Windows buildbot slave Mi

Re: [Python-Dev] Email addresses for new committers for python-committers

2010-04-20 Thread Tim Golden
On 20/04/2010 20:42, Brett Cannon wrote: If you are a committer and are NOT subscribed to the python-committers mailing list (I believe this at least includes Giampaolo, JP, and Brian), then please either reply to this email with your preferred email address or let me know directly (the former is

Re: [Python-Dev] Planning a Windows buildbot

2010-04-20 Thread Martin v. Löwis
Tim Golden wrote: > I've got agreement in principle for one of our decommissioned > servers to be repurposed as a Python buildbot. My idea would > be to set it up as a Windows 2003 R2 server, at least partly > because we don't seem to have any Windows server buildbots > and it's a platform I'm espe

Re: [Python-Dev] Binary Compatibility Issue with Python v2.6.5 and v3.1.2

2010-04-20 Thread Martin v. Löwis
Phil Thompson wrote: > When I build my C++ extension on Windows (specifically PyQt with MinGW) > against Python v2.6.5 it fails to run under v2.6.4. The same problem exists > when building against v3.1.2 and running under v3.1.1. > > The error message is... > > ImportError: DLL load failed: The s

Re: [Python-Dev] Support byte string API of Windows in Python3?

2010-04-20 Thread Martin v. Löwis
> Amaury reopened my issue #8393 "subprocess: support undecodable current > working directory on POSIX OS" because "It does not work on Windows" (bytes > are rejected). I see. I'd like to know whether that's an incompatible change. We shouldn't make incompatible changes in that matter. However,

Re: [Python-Dev] argparse ambiguity handling

2010-04-20 Thread Jon Ribbens
On Tue, Apr 20, 2010 at 03:27:53PM -0400, Neal Becker wrote: > I have a preference to allow at least exact matches to succeed even in the > case of ambiguity - mainly because I accidentally created this already once, > and I feel it's better to at least work somewhat. Not sure if there is any >

Re: [Python-Dev] Email addresses for new committers for python-committers

2010-04-20 Thread Brian Curtin
On Tue, Apr 20, 2010 at 14:42, Brett Cannon wrote: > If you are a committer and are NOT subscribed to the python-committers > mailing list (I believe this at least includes Giampaolo, JP, and Brian), > then please either reply to this email with your preferred email address or > let me know direc

Re: [Python-Dev] argparse ambiguity handling

2010-04-20 Thread P.J. Eby
At 03:27 PM 4/20/2010 -0400, Neal Becker wrote: I have a preference to allow at least exact matches to succeed even in the case of ambiguity - mainly because I accidentally created this already once, and I feel it's better to at least work somewhat. Not sure if there is any more elegant solution

[Python-Dev] Email addresses for new committers for python-committers

2010-04-20 Thread Brett Cannon
If you are a committer and are NOT subscribed to the python-committers mailing list (I believe this at least includes Giampaolo, JP, and Brian), then please either reply to this email with your preferred email address or let me know directly (the former is preferred so Georg or Eric can beat me to

Re: [Python-Dev] argparse ambiguity handling

2010-04-20 Thread Neal Becker
Steven Bethard wrote: > On Tue, Apr 20, 2010 at 11:55 AM, Neal Becker wrote: >> I've noticed argparse ambiguity handling has changed a bit over last few >> revisions. >> >> I have cases where 1 valid input is a prefix of another: >> >> e.g.: >> '--string' >> '--string2' >> >> With the most recent

Re: [Python-Dev] argparse ambiguity handling

2010-04-20 Thread Steven Bethard
On Tue, Apr 20, 2010 at 11:55 AM, Neal Becker wrote: > I've noticed argparse ambiguity handling has changed a bit over last few > revisions. > > I have cases where 1 valid input is a prefix of another: > > e.g.: > '--string' > '--string2' > > With the most recent 1.1, the behavior is: > > --string

[Python-Dev] argparse ambiguity handling

2010-04-20 Thread Neal Becker
I've noticed argparse ambiguity handling has changed a bit over last few revisions. I have cases where 1 valid input is a prefix of another: e.g.: '--string' '--string2' With the most recent 1.1, the behavior is: --string=hello is accepted, while: --strin=hello is marked as ambiguous. I'm

Re: [Python-Dev] Binary Compatibility Issue with Python v2.6.5 and v3.1.2

2010-04-20 Thread Wolfgang Langner
Hi, On 20.04.2010 14:19, Phil Thompson wrote: When I build my C++ extension on Windows (specifically PyQt with MinGW) against Python v2.6.5 it fails to run under v2.6.4. The same problem exists when building against v3.1.2 and running under v3.1.1. The error message is... ImportError: DLL load

Re: [Python-Dev] Binary Compatibility Issue with Python v2.6.5 and v3.1.2

2010-04-20 Thread Phil Thompson
On Tue, 20 Apr 2010 21:50:51 +0900, David Cournapeau wrote: > On Tue, Apr 20, 2010 at 9:19 PM, Phil Thompson > wrote: >> When I build my C++ extension on Windows (specifically PyQt with MinGW) >> against Python v2.6.5 it fails to run under v2.6.4. The same problem >> exists >> when building again

Re: [Python-Dev] Binary Compatibility Issue with Python v2.6.5 and v3.1.2

2010-04-20 Thread David Cournapeau
On Tue, Apr 20, 2010 at 9:19 PM, Phil Thompson wrote: > When I build my C++ extension on Windows (specifically PyQt with MinGW) > against Python v2.6.5 it fails to run under v2.6.4. The same problem exists > when building against v3.1.2 and running under v3.1.1. > > The error message is... > > Imp

[Python-Dev] Planning a Windows buildbot

2010-04-20 Thread Tim Golden
I've got agreement in principle for one of our decommissioned servers to be repurposed as a Python buildbot. My idea would be to set it up as a Windows 2003 R2 server, at least partly because we don't seem to have any Windows server buildbots and it's a platform I'm especially interested in. Does

[Python-Dev] Binary Compatibility Issue with Python v2.6.5 and v3.1.2

2010-04-20 Thread Phil Thompson
When I build my C++ extension on Windows (specifically PyQt with MinGW) against Python v2.6.5 it fails to run under v2.6.4. The same problem exists when building against v3.1.2 and running under v3.1.1. The error message is... ImportError: DLL load failed: The specified procedure could not be fou