-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Kernel crashes after setting decimal precision #1259
Closed
Comments
Perhaps this should be reported to dateutil? Or Python itself? A simple reproducer script without IPython at all: import decimal
from datetime import datetime
from dateutil.parser import parse as parse_date
parse_date(datetime.now().isoformat()) # ok
con = decimal.getcontext()
con.prec = 1
parse_date(datetime.now().isoformat()) # error |
Already reported in dateutil: dateutil/dateutil#1366 |
I believe this is fixed by jupyter/jupyter_client#1032 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally reported by @eendebakpt in jupyterlab/jupyterlab#16268, and clarified by @williamstein on the same issue.
Using JupyterLab 4.3.0 alpha or Jupyter Console 6.6.3, with IPyKernel 6.29.5, run this cell:
… which should print
first cell
. Then, run the second cell:At this point, the following message appears, and the kernel becomes unresponsive:
I can reproduce this on macOS 13.6.7 (22G720) on Apple Silicon. Output of
jupyter --version
:The text was updated successfully, but these errors were encountered: