[issue29670] argparse: does not respect required args pre-populated into namespace

2017-02-27 Thread Matthew Hall
New submission from Matthew Hall: I have some Python code which takes advantage of the ability to prepopulate the argparse Namespace before passing it to argparse. This allows me to read sensitive settings such as usernames and passwords from DBs, environment variables, etc. in addition

[issue15824] mutable urlparse return type

2014-11-05 Thread Matthew Hall
Matthew Hall added the comment: I don't think having to call a method with a weird secret underscored name to update a value in a URL named tuple is very elegant. Neither is creating a handful of pointless objects to make one simple validator function like the one I had to code today. I would