[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-17 Thread Irit Katriel
Irit Katriel added the comment: _MutuallyExclusiveGroup inherits add_argument_group from _ArgumentGroup. -- ___ Python tracker ___

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-17 Thread László Attila Tóth
László Attila Tóth added the comment: Hi, according to the group update the _MutuallyExclusiveGroup should have an add_argument_group() call with the deprecation warning, but that method is missing in commit 30322c497e0b8d978f7a0de95985aac9c5daf1ac. -- nosy: +Laszlo.Attila.Toth _

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-16 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-16 Thread Irit Katriel
Irit Katriel added the comment: New changeset 30322c497e0b8d978f7a0de95985aac9c5daf1ac by Irit Katriel in branch 'main': bpo-22047: [argparse] deprecate nested argument groups and mutually exclusive groups (GH-30098) https://github.com/python/cpython/commit/30322c497e0b8d978f7a0de95985aac9c5

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-15 Thread Irit Katriel
Irit Katriel added the comment: Another issue due to nesting: issue38590. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-14 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +28320 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30098 ___ Python tracker ___

[issue22047] Deprecate unsupported nesting of argparse groups

2021-12-14 Thread Irit Katriel
Irit Katriel added the comment: I am repurposing this issue for the deprecation of nesting. It is pretty clear that the functions exist by accident through inheritance. They are not documented and from the number of open issues about them they clearly are not working as people expect them to