Author pablogsal
Recipients ericvw, pablogsal, pitrou, tzickel, vstinner
Date 2018-12-09.17:41:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I am playing with weakreferences inside the iterator objects, but this may not be enough. For example, take the code of ApplyResult.get:

def get(self, timeout=None):
    if self._pool() is None:
        raise RuntimeError("The pool is dead!") <--- new code

It can be that the pool is alive when we check for it (self._pool() is None) but while the code is waiting with no timeout, the pool dies, effectively leaving the program deadlocked with no error.
Date User Action Args
2018-12-09 17:41:37pablogsalsetrecipients: + pablogsal, pitrou, vstinner, ericvw, tzickel
2018-12-09 17:41:37pablogsalsetmessageid: <>
2018-12-09 17:41:37pablogsallinkissue35378 messages
2018-12-09 17:41:37pablogsalcreate