Am Donnerstag 04 Mai 2006 21:25 schrieb Heiko Wundram:
> 2) -? and /? are recognized on Windows, as are /help and /version,
>because / is just a different longopt-specifier on Windows for the
>getopt machinery in _PyOS_GetOpt
Just on a side-note: I chose for '/' to be a long-opt identifier
Am Donnerstag 04 Mai 2006 16:21 schrieb Fredrik Lundh:
> I'm +1 on adding --help and --version, +1 on adding -? and /? for windows
> only, -0=slightly sceptical if adding a generic long option machinery is
> worth it, and -1 on a guessing machinery.
I've updated the patch on the SourceForge tracke
Fredrik Lundh wrote:
> I'm +1 on adding --help and --version, +1 on adding -? and /? for windows
> only,
> -0=slightly sceptical if adding a generic long option machinery is worth it,
> and -1
> on a guessing machinery.
I also agree with all these judgments.
Regards,
Martin
On 5/4/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> I'm +1 on adding --help and --version, +1 on adding -? and /? for windows
> only,
> -0=slightly sceptical if adding a generic long option machinery is worth it,
> and -1
> on a guessing machinery.
I fully support Fredrik's position on this is
Heiko Wundram wrote:
>> Personally, I'm +1, but wonder if it would be enough to support '--help'
>> and '--version'. We then could cut out the "best guess" code and the code
>> to enable --opt=value.
>
> The code for the above functionality is about 10-12 lines of C of the whole
> patch.
>
> If th
Am Donnerstag 04 Mai 2006 15:41 schrieb Georg Brandl:
> Heiko Wundram wrote:
> > Your thoughts?
>
> Personally, I'm +1, but wonder if it would be enough to support '--help'
> and '--version'. We then could cut out the "best guess" code and the code
> to enable --opt=value.
The code for the above f
Heiko Wundram wrote:
> Anyway, back on topic, I personally agree with the people who posted to
> comp.lang.python that --version (and possibly --help, possibly other long
> parameters too) would be useful additions to Pythons command-line parameters,
> as it's increasingly getting more common a
Heiko Wundram wrote:
> Anyway, back on topic, I personally agree with the people who posted to
> comp.lang.python that --version (and possibly --help, possibly other long
> parameters too) would be useful additions to Pythons command-line parameters,
> as it's increasingly getting more common am
Hi all!
Martin von Löwis said that it'd be necessary to discuss a patch to Python's
ability to parse command-line parameters to the interpreter here, and I
thought I might start the ball rolling.
The associated patch of mine is:
http://sourceforge.net/tracker/index.php?func=detail&aid=1481112&