Eric V. Smith <e...@trueblade.com> added the comment:

Nick Coghlan suggested (on python-dev) to have Field implement __set_name__ and 
call through to the default value, if it exists.

That approach seems to work fine. I'll generate a PR with tests sometime before 
today's release.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33141>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to