| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Closing, because there is also #2299, which seems more promising and tries to fix the exact same issue. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Remove questionable Desc2 conformance assertions from dataclasses_descriptors.py.
The existing assertions do not align with actual runtime behavior for non-data descriptors in dataclasses:
Since this behavior is currently under-specified and differs across type checkers and runtime semantics, this PR removes the questionable assertions and replaces them with explanatory comments.
Fixes #2259