This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author peter.roelants
Recipients FFY00, Mark.Shannon, graingert, iritkatriel, nedbat, pablogsal, peter.roelants
Date 2022-03-02.13:41:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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/", line 115, in process
    d = state["children"][ident]
KeyError: '_all_objs;./lib/python3.10/site-packages/bokeh/embed/;357'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./lib/python3.10/", line 1009, in _bootstrap_inner
  File "./lib/python3.10/", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "./lib/python3.10/site-packages/distributed/", line 274, in _watch
    process(frame, None, recent, omit=omit)
  File "./lib/python3.10/site-packages/distributed/", line 119, in process
    "description": info_frame(frame),
  File "./lib/python3.10/site-packages/distributed/", line 72, in info_frame
    line = linecache.getline(co.co_filename, frame.f_lineno, frame.f_globals).lstrip()
  File "./lib/python3.10/", line 31, in getline
    if 1 <= lineno <= len(lines):
TypeError: '<=' not supported between instances of 'int' and 'NoneType'
Date User Action Args
2022-03-02 13:41:54peter.roelantssetrecipients: + peter.roelants, nedbat, Mark.Shannon, graingert, pablogsal, FFY00, iritkatriel
2022-03-02 13:41:54peter.roelantssetmessageid: <>
2022-03-02 13:41:54peter.roelantslinkissue44446 messages
2022-03-02 13:41:54peter.roelantscreate