[issue45896] Conflicting statements in docs about default support for asyncio subprocesses on Windows

2021-11-24 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +asvetlov, yselivanov type: -> behavior versions: +Python 3.11, Python 3.9 ___ Python tracker ___ ___

[issue45897] Frozen dataclasses with slots raise TypeError

2021-11-24 Thread Trey Hunner
New submission from Trey Hunner : When making a dataclass with slots=True and frozen=True, assigning to an invalid attribute raises a TypeError rather than a FrozenInstanceError: >>> from dataclasses import dataclass >>> @dataclass(frozen=True, slots=True) ... class Vector: ... x: float ..

[issue45897] Frozen dataclasses with slots raise TypeError

2021-11-24 Thread Alex Waygood
Alex Waygood added the comment: This looks to be due to the fact that `slots=True` leads to the creation of an entirely new class (see line 1102), meaning that in the `super(cls, self)` calls in lines 611 and 618 (in the `_frozen_get_del_attr` function, responsible for generating `__setattr_

[issue45897] Frozen dataclasses with slots raise TypeError

2021-11-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue45897] Frozen dataclasses with slots raise TypeError

2021-11-24 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue45897] Frozen dataclasses with slots raise TypeError

2021-11-24 Thread Eric V. Smith
Change by Eric V. Smith : -- versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue45896] Conflicting statements in docs about default support for asyncio subprocesses on Windows

2021-11-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: You are correct, the first statement is outdated. Please feel free to make a pull request. -- ___ Python tracker ___ ___

[issue45896] Conflicting statements in docs about default support for asyncio subprocesses on Windows

2021-11-24 Thread Rob
Rob added the comment: Ok will do. Thanks for confirming. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2