-
Petr Pudlak authored
.. because modifying the queue inside the handler can have unexpected consequences. Since Python 2 doesn't have a nice way how to modify a variable from an inner function, we have to use a list as a wrapper. (Python 3 has the "nonlocal" keyword for it.) Signed-off-by: Petr Pudlak <pudlak@google.com> Reviewed-by: Klaus Aehlig <aehlig@google.com>
c697dc2c