Message347651
I don't agree with the proposed change; I think the examples are fine as is.
Using `>= 1` means if you later decide that the `-vv` message should actually only happen at `-vvv` and `-vv` should get the same message as `-v`, you only have to change the 2 to a 3 and you're done. With `== 1` you have to remember to either change `== 1` to `>= 1` or switch to `in {1, 2}`, or (more likely) forget to make the change initially and have to go back and fix it later.
The last example especially must not be changed; it is explicitly showing how to emit additional messages at higher verbosity levels.
I recommend closing this issue. |
|
Date |
User |
Action |
Args |
2019-07-11 04:53:26 | zach.ware | set | recipients:
+ zach.ware, docs@python, paul.j3, aldwinaldwin, Culip |
2019-07-11 04:53:26 | zach.ware | set | messageid: <1562820806.49.0.95234652955.issue37545@roundup.psfhosted.org> |
2019-07-11 04:53:26 | zach.ware | link | issue37545 messages |
2019-07-11 04:53:26 | zach.ware | create | |
|