« Previous | Next » 

Revision e4236bbd

IDe4236bbd8aa67738411e5486bdde22a53e086aac
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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences