hpaulj <[email protected]> added the comment:

I (as paul.j3) have proposed a patch in http://bugs.python.org/issue18943 that 
replaces the 'is not action.default' test.  Instead it makes note in 
`_get_values()` of when it actually sets:`value = action.default`.  Simply 
being 
equal to the default (whether according to `==` or `is`) is not enough.  This 
should make the behavior consistent across implementations.

There is a quite a backlog of proposed patches for argparse on CPython, so it 
might be some time before this, or some other fix, is approved.

----------
nosy: +hpaulj

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1595>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to