FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Restore better error message on std::runtime_error. by anntzer · Pull Request #9299 · matplotlib/matplotlib · GitHub

Repository navigation

Restore better error message on std::runtime_error. - #9299

Merged
tacaswell merged 1 commit into
matplotlib:masterfrom
anntzer:c++-std-runtime_error
Oct 7, 2017
Merged

tacaswell merged 1 commit into
matplotlib:masterfrom
anntzer:c++-std-runtime_error

Conversation

anntzer commented Oct 6, 2017

Copy link
Copy Markdown
Contributor

attn @Kojoley #9289 (comment)

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

Kojoley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

QuLogic added this to the 2.1.1 (next bug fix release) milestone Oct 6, 2017

QuLogic commented Oct 6, 2017

Copy link
Copy Markdown
Member

Looks like you need to fix the test now.

Kojoley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Oh. You have to place std::runtime_error handling after std::overflow_error because second inherits first and std::runtime_error catches both.

anntzer force-pushed the c++-std-runtime_error branch from d6661f9 to be87212 Compare October 6, 2017 23:35

anntzer commented Oct 6, 2017

Copy link
Copy Markdown
Contributor Author

fixed

tacaswell merged commit 129403c into matplotlib:master Oct 7, 2017
anntzer deleted the c++-std-runtime_error branch October 7, 2017 22:34
tacaswell added a commit that referenced this pull request Oct 8, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

5 participants


Back | FazBrowse Home | New Git URL