[issue40862] argparse.BooleanOptionalAction accept and silently discard its the const argument

2020-06-07 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40862] argparse.BooleanOptionalAction accept and silently discard its the const argument

2020-06-05 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40862] argparse.BooleanOptionalAction accept and silently discard its the const argument

2020-06-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset d5e7348e4105d1d4a1c5bd1087f61041532ecbf3 by Miss Islington (bot) in branch '3.9': bpo-40862: Raise TypeError when const is given to argparse.BooleanOptionalAction (GH-20623) (GH-20664)

[issue40862] argparse.BooleanOptionalAction accept and silently discard its the const argument

2020-06-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +19881 pull_request: https://github.com/python/cpython/pull/20664 ___ Python tracker

[issue40862] argparse.BooleanOptionalAction accept and silently discard its the const argument

2020-06-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset b084d1b97e369293d2d2bc0791e2135822c923a8 by Rémi Lapeyre in branch 'master': bpo-40862: Raise TypeError when const is given to argparse.BooleanOptionalAction (GH-20623)

[issue40862] argparse.BooleanOptionalAction accept and silently discard its the const argument

2020-06-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: Right. Go ahead :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40862] argparse.BooleanOptionalAction accept and silently discard its the const argument

2020-06-05 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: argparse.BooleanOptionalAction was introduced in Python3.9 so there is no code there should be no code that already rely on it. -- ___ Python tracker

[issue40862] argparse.BooleanOptionalAction accept and silently discard its the const argument

2020-06-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: ISTM this should be addressed through documentation rather than by breaking currently deployed code that may have specified a default that already matches what the action does. -- nosy: +rhettinger ___ Python

[issue40862] argparse.BooleanOptionalAction accept and silently discard its the const argument

2020-06-04 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- title: argparse.BooleanOptionalAction accept and silently its the const argument -> argparse.BooleanOptionalAction accept and silently discard its the const argument ___ Python tracker