Peter Roelants <peter.roela...@aspect-analytics.com> added the comment:
If I understand correctly this should be fixed? In which 3.10.* version should this be fixed? The reason why I'm asking is that I ran into this issue when using Dask (2022.02.0) with multithreading on Python 3.10.2: Exception in thread Profile: Traceback (most recent call last): File "./lib/python3.10/site-packages/distributed/profile.py", line 115, in process d = state["children"][ident] KeyError: '_all_objs;./lib/python3.10/site-packages/bokeh/embed/bundle.py;357' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./lib/python3.10/threading.py", line 1009, in _bootstrap_inner self.run() File "./lib/python3.10/threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "./lib/python3.10/site-packages/distributed/profile.py", line 274, in _watch process(frame, None, recent, omit=omit) File "./lib/python3.10/site-packages/distributed/profile.py", line 119, in process "description": info_frame(frame), File "./lib/python3.10/site-packages/distributed/profile.py", line 72, in info_frame line = linecache.getline(co.co_filename, frame.f_lineno, frame.f_globals).lstrip() File "./lib/python3.10/linecache.py", line 31, in getline if 1 <= lineno <= len(lines): TypeError: '<=' not supported between instances of 'int' and 'NoneType' ---------- nosy: +peter.roelants versions: +Python 3.10 -Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44446> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com