Closed JasonWeill closed 1 month ago
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: https://github.com/dateutil/dateutil/issues/1366
I believe this is fixed by https://github.com/jupyter/jupyter_client/pull/1032
Originally reported by @eendebakpt in https://github.com/jupyterlab/jupyterlab/issues/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
: