This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients bethard, brett.cannon, paul.j3, quabla
Date 2016-03-11.04:26:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457670414.91.0.41070145465.issue26394@psf.upfronthosting.co.za>
In-reply-to
Content
http://stackoverflow.com/a/35144270/901925
dynamically-set-default-value-from-cfg-file-through-argparse-python

is my answer to a similar recent (Feb 2015) SO question.

I rather like the idea of using collections.ChainMap on the dictionary versions of the namespace and config data.
History
Date User Action Args
2016-03-11 04:26:54paul.j3setrecipients: + paul.j3, brett.cannon, bethard, quabla
2016-03-11 04:26:54paul.j3setmessageid: <1457670414.91.0.41070145465.issue26394@psf.upfronthosting.co.za>
2016-03-11 04:26:54paul.j3linkissue26394 messages
2016-03-11 04:26:54paul.j3create