Author paul.j3
Recipients paul.j3, zygocephalus
Date 2019-06-04.17:40:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559670016.08.0.770399401281.issue37150@roundup.psfhosted.org>
In-reply-to
Content
I don't see an easy way around this.  FileType is a class, and thus is a callable.  add_argument checks that the 'type' parameter is a callable (or a string in the registry).  Otherwise it gives the programmer a lot of freedom regarding this parameter.
History
Date User Action Args
2019-06-04 17:40:16paul.j3setrecipients: + paul.j3, zygocephalus
2019-06-04 17:40:16paul.j3setmessageid: <1559670016.08.0.770399401281.issue37150@roundup.psfhosted.org>
2019-06-04 17:40:16paul.j3linkissue37150 messages
2019-06-04 17:40:16paul.j3create