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.16:28:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573230534.2.0.229843583354.issue38736@roundup.psfhosted.org>
In-reply-to
Content
Yes you can set the default to be any object, such as an evaluated string.  If it isn't a string it won't be passed through 'type'.

The purpose of the delayed evaluation that I described is to avoid unnecessary evaluations.  The worse case would be a write filetype.  You don't want to create (or over write) a default file if it never gets used.

(I intend to close this issue).
History
Date User Action Args
2019-11-08 16:28:54paul.j3setrecipients: + paul.j3, Erik Ahlén
2019-11-08 16:28:54paul.j3setmessageid: <1573230534.2.0.229843583354.issue38736@roundup.psfhosted.org>
2019-11-08 16:28:54paul.j3linkissue38736 messages
2019-11-08 16:28:54paul.j3create