Christodoulos Tsoulloftas added the comment:
Thanks for the update eric, yeah the new error messages are much more
comprehensive and I am glad to hear the original issue will be addressed as
well.
--
___
Python tracker
<https://bugs.python.
New submission from Christodoulos Tsoulloftas :
I am trying the new slots directive but I get an AttributeError when I try to
access a field with init=False
>>> from dataclasses import dataclass, field
>>>
>>> @dataclass(slots=True)
... class Example:
... a:
Christodoulos Tsoulloftas added the comment:
@kj I can confirm the issue is resolved with Python 3.10.0a7+
--
status: pending -> open
___
Python tracker
<https://bugs.python.org/issu
New submission from Christodoulos Tsoulloftas :
Consider two modules with the same name forward references with the same type
construct
./a.py
```
from typing import Optional
class Root:
a: Optional["Person"]
class Person:
value: str
```
./b.py
```
from typ