[issue34458] No way to alternate options

2018-09-22 Thread paul j3
Change by paul j3 : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34458] No way to alternate options

2018-09-20 Thread paul j3
Change by paul j3 : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue34458] No way to alternate options

2018-08-22 Thread paul j3
paul j3 added the comment: I agree that a custom Action subclass like this is the way to go. The regular 'append' is implemented in _AppendAction class, which is different from the default _StoreAction. So even if there was enough demand for this new idea to be put into development, it woul

[issue34458] No way to alternate options

2018-08-22 Thread Josh Rosenberg
Josh Rosenberg added the comment: That's a *really* niche use case; you want to store everything to a common destination list, in order, but distinguish which switch added each one? I don't know of any programs that use such a design outside of Python (and therefore, it seems unlikely there

[issue34458] No way to alternate options

2018-08-21 Thread Victor Porton
New submission from Victor Porton : I have: parser.add_argument('-p', '--preload', help='preload asset', action='append', metavar='NAMESPACE') I want also add: parser.add_argument('-f', '--file', help='preload file', action='append', metavar='FILE', dest='preload') This way I could specify