Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error printing in Jupyter notebooks #323

Closed
mark-koch opened this issue Jul 24, 2024 · 0 comments · Fixed by #324 or #310
Closed

Fix error printing in Jupyter notebooks #323

mark-koch opened this issue Jul 24, 2024 · 0 comments · Fixed by #324 or #310
Assignees
Labels
bug Something isn't working

Comments

@mark-koch
Copy link
Collaborator

mark-koch commented Jul 24, 2024

IPython doesn't use sys.excepthook. We need to use IPython.core.interactiveshell.InteractiveShell.set_custom_exc

@mark-koch mark-koch added the bug Something isn't working label Jul 24, 2024
@mark-koch mark-koch self-assigned this Jul 24, 2024
github-merge-queue bot pushed a commit that referenced this issue Jul 25, 2024
🤖 I have created a release *beep* *boop*
---


## [0.7.0](v0.6.2...v0.7.0)
(2024-07-25)


### ⚠ BREAKING CHANGES

* `qubit`s are now reset on allocation

### Features

* `qubit`s are now reset on allocation, and `dirty_qubit` added
([#325](#325))
([4a9e205](4a9e205))
* Allow access to struct fields and mutation of linear ones
([#295](#295))
([6698b75](6698b75)),
closes [#293](#293)
* Allow redefinition of names in guppy modules
([#326](#326))
([314409c](314409c)),
closes [#307](#307)


### Bug Fixes

* Use correct hook for error printing inside jupyter notebooks
([#324](#324))
([bfdb003](bfdb003)),
closes [#323](#323)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant