Skip to content

[3.7] bpo-33947: dataclasses no longer can raise RecursionError in repr (GF9916) #9970

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

Merged
merged 1 commit into from
Oct 19, 2018

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 19, 2018

The reprlib code was copied here instead of importing reprlib. I'm not sure if we really need to avoid the import, but since I expect dataclasses to be more common that reprlib, it seems wise. Plus, the code is small.
(cherry picked from commit dd13c88)

Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) [email protected]

https://bugs.python.org/issue33947

…9916)

The reprlib code was copied here instead of importing reprlib. I'm not sure if we really need to avoid the import, but since I expect dataclasses to be more common that reprlib, it seems wise. Plus, the code is small.
(cherry picked from commit dd13c88)

Co-authored-by: Srinivas  Thatiparthy (శ్రీనివాస్  తాటిపర్తి) <[email protected]>
@miss-islington
Copy link
Contributor Author

@srinivasreddy and @ericvsmith: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@srinivasreddy and @ericvsmith: Status check is done, and it's a success ✅ .

@ericvsmith ericvsmith merged commit b9182aa into python:3.7 Oct 19, 2018
@bedevere-bot
Copy link

@ericvsmith: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington miss-islington deleted the backport-dd13c88-3.7 branch October 19, 2018 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants