We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Uop.replicated
cases_generator/analyzer.py
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is now defined as:
cpython/Tools/cases_generator/analyzer.py
Line 185 in 46d7c11
And used as:
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:
replicated
>>> 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
The text was updated successfully, but these errors were encountered:
pythongh-134294: Fix Uop.replicated field definition and usage
a911905
sobolevn
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
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:I have a PR with the fix.
Refs 626c414
Linked PRs
Uop.replicated
field definition and usage #134295The text was updated successfully, but these errors were encountered: