18.03.22 11:29, Serhiy Storchaka пише:
It will break some code (there are 2 occurrences in the stdlib an 1 in scripts), but that code can be easily fixed.
Actually it will break more code, because initializing __slots__ with a list is pretty common. Maybe restrict it to tuple or list? But having an immutable __slots__ may be more reliable.
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/HCZHJN2LSD2NXFLSFAO7VVOMEZRTLDBQ/ Code of Conduct: http://python.org/psf/codeofconduct/
