Open
Description
Bug report
It is now defined as:
cpython/Tools/cases_generator/analyzer.py
Line 185 in 46d7c11
And used as:
cpython/Tools/cases_generator/analyzer.py
Lines 879 to 884 in 46d7c11
But, right now replicated
is a class-level variable of a dataclass, because it does not have an annotation, see:
>>> from dataclasses import dataclass
>>> @dataclass
... class Uop:
... replicated = 0
...
>>> Uop(replicated=1)
Traceback (most recent call last):
File "<python-input-2>", line 1, in <module>
Uop(replicated=1)
~~~^^^^^^^^^^^^^^
TypeError: Uop.__init__() got an unexpected keyword argument 'replicated'
I have a PR with the fix.
Refs 626c414
Linked PRs
Metadata
Metadata
Assignees
Labels
The build process and cross-buildThe build process and cross-buildAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error