New issue
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
[dataclasses] Exception on __doc__ generation, when object signature cannot be fetched
#103449
Comments
|
I can reproduce this issue without >>> class Meta(type):
... __call__ = dict
...
>>> class Base(metaclass=Meta): ...
...
>>> @dataclasses.dataclass
... class My(Base): ...
...
# ValueError: no signature found for builtin type <class 'dict'> |
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Apr 11, 2023
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Apr 11, 2023
__doc__ generation, when object signature cannot be fetched
carljm
pushed a commit
that referenced
this issue
Apr 17, 2023
|
I think it's completed, so, I close it. |
|
It is not yet closed, because #103599 is not merged. |
carljm
pushed a commit
that referenced
this issue
Apr 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Reproducible on current main branch:
Traceback:
However, this code works on 3.8 version (but of course we cannot instantiate a
Testclass)Maybe we need to add a some check in sources of
dataclass.Also, this error is not critical, so, feel free to "close as not planned" =)
Linked PRs
The text was updated successfully, but these errors were encountered: