« Previous | Next » 

Revision e4236bbd

Parent a09639d1
Child a9e1819b

Added by Santi Raffa over 10 years ago

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 <>
Reviewed-by: Hrvoje Ribicic <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences