Éric Araujo <mer...@netwok.org> added the comment:

I think FlagAction should implement strictly boolean options, that is --foo and 
--no-foo, without arguments at all.

For ConfigureAction, there is a precedent (unless I’m mistaken) in configure, 
which permits such things:
  --without-unicode
  --with-unicode=ucs4
  --with-unicode (uses default value for arg)

I say we focus on the simple FlagAction for this bug and keep ConfigureAction 
for another patch.

Yaniv: Can you give us a status update?

----------
keywords: +easy
title: Add ConfigureAction to argparse -> Add FlagAction to argparse

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to