Torbjørn Wikestad <torbjorn.wikes...@gmail.com> added the comment: The script has been tried and found to work as intended in the Idle IDE, which runs on a standard win32 python shell. So the error is linked only with IPython or Spyder.
---------- Added file: https://bugs.python.org/file48711/2019-11-12_try-clause,numpy,random,copy,time,ipython,spyder,python36.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38774> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com