Skip to content

Conversation

@ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented Nov 20, 2018

compiler_call() needs to check if an error occurred during the
maybe_optimize_method_call() call.

https://bugs.python.org/issue35284

compiler_call() needs to check if an error occurred during the
maybe_optimize_method_call() call.
@serhiy-storchaka serhiy-storchaka self-assigned this Nov 22, 2018
@serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error needs backport to 3.7 skip news labels Nov 22, 2018
@serhiy-storchaka
Copy link
Member

Good catch! 👏 It is hard to notice this error. 🕵️‍♂️ How did you find it?

Do you mind to add a comment to maybe_optimize_method_call() about returning values? And please describe the error in more detail on the tracker.

@serhiy-storchaka
Copy link
Member

Ping.

@brettcannon
Copy link
Member

@ZackerySpytz just in case you didn't see the "ping" from Serhiy.

@ZackerySpytz
Copy link
Contributor Author

I saw it.

@ZackerySpytz
Copy link
Contributor Author

Hi, @serhiy-storchaka. Thank you for updating this PR. However, it seems that there is an error in the comment that you added. I will edit the comment.

@serhiy-storchaka serhiy-storchaka merged commit 97f5de0 into python:master Mar 22, 2019
@miss-islington
Copy link
Contributor

Thanks @ZackerySpytz for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @ZackerySpytz and @serhiy-storchaka, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 97f5de01adf993aee17dcd26e22ae421d013f372 3.7

ZackerySpytz added a commit to ZackerySpytz/cpython that referenced this pull request Mar 22, 2019
…ythonGH-10625)

compiler_call() needs to check if an error occurred during the
maybe_optimize_method_call() call.
(cherry picked from commit 97f5de0)
@bedevere-bot
Copy link

GH-12496 is a backport of this pull request to the 3.7 branch.

@ZackerySpytz
Copy link
Contributor Author

Hi, @serhiy-storchaka. I've created a backport PR for 3.7.

serhiy-storchaka pushed a commit that referenced this pull request Mar 22, 2019
…H-10625) (GH-12496)

compiler_call() needs to check if an error occurred during the
maybe_optimize_method_call() call.
(cherry picked from commit 97f5de0)
@serhiy-storchaka serhiy-storchaka removed their assignment Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants