This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tshepang
Recipients bethard, docs@python, eric.araujo, ezio.melotti, ncoghlan, tshepang
Date 2012-03-19.08:49:02
SpamBayes Score 0.0
Marked as misclassified No
Message-id <CAA77j2CPKe4F4CVOce5U21KvyTWhiFtDytRNTY2NjqHZXFnhDw@mail.gmail.com>
In-reply-to <CAA77j2Di0WCnOTihiq=mVCkDt4EO1KV5tGZkLfAN-rYONSixQg@mail.gmail.com>
Content
On Mon, Mar 19, 2012 at 10:34, Tshepang Lekhonkhobe <tshepang@gmail.com> wrote:
>> Nick Coghlan <ncoghlan@gmail.com> added the comment:
>>
>> A couple of thoughts on the draft HOWTO:
>>
>> I like the "verbosity" example, but I'd also like to see it continue on into introducing the "action='count'" alternative that allows "-vv" to set the verbosity level to 2, etc.
>
> I wonder if this usage is common enough to get an entry in this
> introductory text.
>
>> I also find the idea of having higher verbosity levels that aren't supersets of lower verbosity levels to be an anti-pattern, so I'd prefer not to see it in an official HOWTO. To my mind, verbosity levels should be checked with ">=", never "==".
>
> I don't really understand this paragraph. Do you have an example to
> compare with any of the examples in the attached patch?

After playing a bit more with this and thinking about it a bit, I do
get your point. It makes a lot of sense. I will attach a patch soon,
which will also include the count keyword. Thanks for the review.
History
Date User Action Args
2012-03-19 08:49:03tshepangsetrecipients: + tshepang, ncoghlan, bethard, ezio.melotti, eric.araujo, docs@python
2012-03-19 08:49:02tshepanglinkissue14034 messages
2012-03-19 08:49:02tshepangcreate