Made it more pythonic and compact. Usage of temp variable wasn't necessary nor was the loop through children or the appending of the root node to the stack.
Alright, there seems to be a GH Actions problem, so we'll see when the incident is resolved, sorry for the delay.
There won't be a problem, so an admin might merge it anyway.
Made it more pythonic and compact. Usage of temp variable wasn't necessary nor was the loop through children or the appending of the root node to the stack.