gh-135511 Fixed NameError and AttributeError lack of the message in IDLE#135526
gh-135511 Fixed NameError and AttributeError lack of the message in IDLE#135526Locked-chess-official wants to merge 6 commits intopython:mainfrom
NameError and AttributeError lack of the message in IDLE#135526Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
NameError and AttributeError lack of the message in IDLENameError and AttributeError lack of the message in IDLE
|
I use blurb to create a |
terryjreedy
left a comment
There was a problem hiding this comment.
To add a test, I think if might be sufficient to add the following tuple to the end of data in test_idle.test_run.ExceptionTest.
('raise NameError("123\n456")', NameError, "123\n456\n"),
If you want me to make changes and test, I will, but I need sleep now.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
The hint process is rather fragile. Modifying |
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @terryjreedy: please review the changes made to this pull request. |
|
To add the test, I have to add a new default for |
4685784 to
1b644d6
Compare
|
I make the change clearer now. |
|
This PR is stale because it has been open for 30 days with no activity. |
NameErrorhas different actions when be raised in IDLE #135511