summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/pyshell.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2023-04-13 19:04:06 (GMT)
committerGitHub <noreply@github.com>2023-04-13 19:04:06 (GMT)
commit3b929a7b321dae113593d81caf47c4f08890c615 (patch)
treea63bc071059b47d988a0b97224631de283392211 /Lib/idlelib/pyshell.py
parent804a973d8e5fd2728aeef268f3e577d2c0b05baa (diff)
downloadcpython-3b929a7b321dae113593d81caf47c4f08890c615.zip
cpython-3b929a7b321dae113593d81caf47c4f08890c615.tar.gz
cpython-3b929a7b321dae113593d81caf47c4f08890c615.tar.bz2
[3.11] gh-103479: [Enum] require __new__ to be considered a data type (GH-103495) (GH-103514)
a mixin must either have a __new__ method, or be a dataclass, to be interpreted as a data-type; an __init__ method is not enough (restores pre-3.11 behavior for non-dataclasses). (cherry picked from commit a6f95941a3d686707fb38e0f37758e666f25e180) Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Lib/idlelib/pyshell.py')
0 files changed, 0 insertions, 0 deletions