Issue 32960: dataclasses: disallow inheritance between frozen and non-frozen classes (original) (raw)

Issue32960

Created on 2018-02-26 23:41 by eric.smith, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 5919 merged eric.smith,2018-02-27 01:06
PR 5920 open miss-islington,2018-02-27 01:39
Messages (4)
msg312972 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-02-26 23:41
This is a temporary measure until we can better define how frozen inheritance should work. In the meantime, disallow: - frozen inherited from non-frozen - non-frozen inherited from frozen
msg312973 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-02-26 23:42
See issue 32953 for a larger discussion and the ultimate resolution of this.
msg312978 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-02-27 01:59
New changeset a93e3dc236279692eaf50b91d358da5983983b14 by Eric V. Smith (Miss Islington (bot)) in branch '3.7': bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classes and vice-versa, (GH-5919) (GH-5920) https://github.com/python/cpython/commit/a93e3dc236279692eaf50b91d358da5983983b14
msg314073 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-03-19 01:29
Resolved by issue 32953.
History
Date User Action Args
2022-04-11 14:58:58 admin set github: 77141
2018-03-19 01:29:30 eric.smith set status: open -> closedtype: behaviormessages: + resolution: fixedstage: patch review -> resolved
2018-02-27 01:59:58 eric.smith set messages: +
2018-02-27 01:39:44 miss-islington set pull_requests: + <pull%5Frequest5691>
2018-02-27 01:06:49 eric.smith set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest5690>
2018-02-26 23:42:49 eric.smith set messages: +
2018-02-26 23:41:26 eric.smith create