-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-38431: fix dataclasses.InitVar.__repr__ #16702
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
Conversation
Fix repr method of InitVar to work with typing objects.
94bf02d
to
e045143
Compare
3f10b36
to
425edc7
Compare
Thanks for your time @samuelcolvin, and welcome to CPython! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a good change to me!
CC @ericvsmith |
Thanks @samuelcolvin for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
pythonGH-16702) (cherry picked from commit 793cb85) Co-authored-by: Samuel Colvin <samcolvin@gmail.com>
GH-16744 is a backport of this pull request to the 3.8 branch. |
Congrats on your first CPython contribution @samuelcolvin! 🍾 Looking forward to seeing more from you in the future. |
new version of #16700 based off master.
See original bug pydantic/pydantic#886
https://bugs.python.org/issue38431