FillDict: do not use exceptions for flow control
While it's generally better to beg for forgiveness than ask for permission in Python, it's not a good idea to rely on exceptions to model control flow, especially if the resulting code is simpler. Signed-off-by:Santi Raffa <rsanti@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
Please register or sign in to comment