Skip to content

bpo-19956: fix nested class error#20025

Closed
furkanonder wants to merge 2 commits into
python:masterfrom
furkanonder:bpo-19956
Closed

bpo-19956: fix nested class error#20025
furkanonder wants to merge 2 commits into
python:masterfrom
furkanonder:bpo-19956

Conversation

@furkanonder
Copy link
Copy Markdown
Contributor

@furkanonder furkanonder commented May 10, 2020

Copy link
Copy Markdown
Member

@terryjreedy terryjreedy left a comment

Choose a reason for hiding this comment

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

This solution is either incomplete or the wrong, since calling bouble-bound 'methods' fails with
"TypeError: say() takes 1 positional argument but 2 were given". It should not be merged until we decide on the issue what the proper fix is.

@furkanonder
Copy link
Copy Markdown
Contributor Author

This solution is either incomplete or the wrong, since calling bouble-bound 'methods' fails with
"TypeError: say() takes 1 positional argument but 2 were given". It should not be merged until we decide on the issue what the proper fix is.

I didn't understand exactly what you mean. Can you give an example for this?

@furkanonder furkanonder requested a review from terryjreedy May 17, 2020 22:35
@terryjreedy
Copy link
Copy Markdown
Member

terryjreedy commented May 18, 2020

I tried to explain on the issue why I think this fix is a mistake. In summary, it hides a user code bug.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants