Author bquinlan
Recipients bquinlan, ncoghlan
Date 2019-05-06.19:58:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557172680.42.0.544815921663.issue23697@roundup.psfhosted.org>
In-reply-to
Content
Using a default executor could be dangerous because it could lead to deadlocks. For example:

mylib.py
--------

def my_func():
  tsubmit(...)
  tsubmit(...)
  tsubmit(somelib.some_func, ...)


somelib.py
----------

def some_func():
  tsubmit(...) # Potential deadlock if no more free threads.
History
Date User Action Args
2019-05-06 19:58:00bquinlansetrecipients: + bquinlan, ncoghlan
2019-05-06 19:58:00bquinlansetmessageid: <1557172680.42.0.544815921663.issue23697@roundup.psfhosted.org>
2019-05-06 19:58:00bquinlanlinkissue23697 messages
2019-05-06 19:58:00bquinlancreate