Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-43656: Make FrameSummary robust towards un-repr-able values#25062

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
moi90 wants to merge2 commits intopython:masterfrommoi90:fix-issue-43656

Conversation

@moi90
Copy link
Contributor

@moi90moi90 commentedMar 29, 2021
edited by bedevere-bot
Loading

try:
returnrepr(x)
exceptExceptionasexc:
return"[Unrepresentable: {}]".format(exc)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

what ifexc is also not representable ?

@moi90
Copy link
ContributorAuthor

https://bugs.python.org/issue39228

As is true for most special methods, it is a bug forrepr methods to raise.

I therefore retract the pull request.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@gstgstgst left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@moi90@gst@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp