paul j3 <ajipa...@gmail.com> added the comment:
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). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38736> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com