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 Erik Ahlén, paul.j3
Date 2019-11-08.03:42:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573184532.51.0.411266941541.issue38736@roundup.psfhosted.org>
In-reply-to
Content
get_default just returns the default attribute as it is stored in the Action.   Defaults are stored as given. 

During parsing the Action's default is placed in the args namespace at the start.  At the end, it checks if the value in the namespace is a string that matches the default (i.e. has been over written by user input).  Only then is it passed through the type function.
History
Date User Action Args
2019-11-08 03:42:12paul.j3setrecipients: + paul.j3, Erik Ahlén
2019-11-08 03:42:12paul.j3setmessageid: <1573184532.51.0.411266941541.issue38736@roundup.psfhosted.org>
2019-11-08 03:42:12paul.j3linkissue38736 messages
2019-11-08 03:42:12paul.j3create