Issue 23555: behavioural change in argparse set_defaults in python 2.7.9 (original ) (raw ) Issue23555
Created on 2015-03-01 11:32 by doko , last changed 2022-04-11 14:58 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
test.py
doko,2015-03-01 11:32
Messages (2)
msg236956 - (view)
Author: Matthias Klose (doko) *
Date: 2015-03-01 11:32
seen with ceph, https://launchpad.net/bugs/1413321 This appears to be a regression in the argparse package in python; under trusty ceph-disk works just fine, however in vivid, the cluster attribute remains unset (despite having a default of 'ceph'). Attached python demonstrates the problem.
msg239434 - (view)
Author: paul j3 (paul.j3) *
Date: 2015-03-27 20:42
This is another manifestation of the http://bugs.python.org/issue9351 partial patch (on how the namespace of the parser relates to the namespace of the subparser). see also http://bugs.python.org/issue23058
History
Date
User
Action
Args
2022-04-11 14:58:13
admin
set
github: 67743
2015-03-31 18:28:59
berker.peksag
set
superseder: argparse silently ignores arguments resolution: duplicatestage: resolved
2015-03-27 20:43:08
paul.j3
set
status: open -> closed
2015-03-27 20:42:41
paul.j3
set
messages: +
2015-03-01 14:01:34
BreamoreBoy
set
nosy: + paul.j3
2015-03-01 11:34:50
SilentGhost
set
nosy: + bethard
2015-03-01 11:32:36
doko
create