commit | 3d41f482594b6aab12a316202b3c06757262109a | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Mar 19 18:31:22 2018 -0700 |
committer | Eric V. Smith <ericvsmith@users.noreply.github.com> | Mon Mar 19 21:31:22 2018 -0400 |
tree | b9b236f91d47ccb415e1e6d281fe8dc028126f34 | |
parent | 45648312e540cda3b10109b6a808cbf6955c84eb [diff] |
bpo-33100: Dataclasses now handles __slots__ and default values correctly. (GH-6152) (GH-6153) If the class has a member that's a MemberDescriptorType, it's not a default value, it's from that member being in __slots__. (cherry picked from commit 7389fd935c95b4b6f094312294e703ee0de18719) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>