Visitar URL original
bpo-36298: Raise ModuleNotFoundError in pyclbr when a module can't be found by brettcannon · Pull Request #12358 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260112194434/https://github.com/python/cpython/pull/12358
Skip to content

Conversation

@brettcannon
Copy link
Member

@brettcannon brettcannon commented Mar 15, 2019 •

Before, an AttributeError was raised due to trying to access an attribute that exists on specs but having received None instead for a non-existent module.

https://bugs.python.org/issue36298

Copy link
Contributor

@mental32 mental32 left a comment

Choose a reason for hiding this comment

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

Reviewed diff (looks good), Interested to know your thoughts on the comments.

@ned-deily
Copy link
Member

@brettcannon Is there a particular reason you think this should be backported to 3.6?

@brettcannon
Copy link
Member Author

@ned-deily no, and since it's a change in exception it probably shouldn't be backported, so I have dropped the backporting idea.

@miss-islington
Copy link
Contributor

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

@miss-islington miss-islington merged commit 5086589 into python:master Mar 22, 2019
@brettcannon brettcannon deleted the issue36298 branch July 12, 2019 22:05
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.

6 participants