{"push_id":2524612325,"size":2,"distinct_size":2,"ref":"refs/heads/bug_653865_AsynchronousTask_recursion_InvalidStateError","head":"13bee3ab931f19288174dfa147bf15ace75ced5e","before":"8bc07b1deaf7c41947a33394f6ffcb7d745f4eae","commits":[{"sha":"54256075a4b525e86d6837a3ecf6502eb484d3a0","author":{"name":"Zac Medico","email":"a17fa1dcf5b7e2df0c563c7a30fa1870d6a8ff57@gentoo.org"},"message":"AsynchronousTask: fix deprecated _wait usage (bug 653856)\n\nMake the default _start implementation call _async_wait() instead\nof wait().\n\nBug: https://bugs.gentoo.org/653856","distinct":true,"url":"https://api.github.com/repos/zmedico/portage/commits/54256075a4b525e86d6837a3ecf6502eb484d3a0"},{"sha":"13bee3ab931f19288174dfa147bf15ace75ced5e","author":{"name":"Zac Medico","email":"a17fa1dcf5b7e2df0c563c7a30fa1870d6a8ff57@gentoo.org"},"message":"AsynchronousTask: disable event loop recursion (bug 653856)\n\nMake the wait() and _async_wait() methods raise InvalidStateError\nwhen the event loop is running and the returncode is not available,\nsince these cases would trigger event loop recursion. There are no\nknown remaining cases that cause event loop recursion via wait()\nand _async_wait(), and this patch protects against changes that would\naccidentally re-introduce event loop recursion.\n\nSince the wait() method now raises InvalidStateError in cases where\nit previously would have called the _wait() method, this patch makes\nit possible to remove the _wait() method implementations from all\nsubclasses of AsynchronousTask.\n\nBug: https://bugs.gentoo.org/653856","distinct":true,"url":"https://api.github.com/repos/zmedico/portage/commits/13bee3ab931f19288174dfa147bf15ace75ced5e"}]}
{"actor":{"display_login":"zmedico"}}