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

Thanks, Raymond. I agree that this request is too specialized to add to 
dataclasses. Any proposal here or that I've been able to think of complicate 
the API for the much more common use case of not needing asdict() 
specialization.

To the original poster: I suggest you just implement the functionality you need 
in a custom version of asdict() yourself. As noted, all of the information 
needed for a custom asdict() are publicly available.

----------
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

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

Reply via email to