-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 29/10/2014 12:01, Rafael Romero Carmona wrote:
> 2014-10-29 12:25 GMT+01:00 Martin Kemp : On
> 29/10/2014 10:45, Anton wrote:
>>>> Let's say I have an incoming list of values *l*. Every
>>>> element of *l* can be
(json.loads(c)) except ValueError: pass else: values.add(c_int)
> continue else: values.add(c_int) continue ===
>
> Thanks, Anton.
>
>
Your first example is perfectly fine and is EAFP
Personally, I prefer to avoid nesting when it's not necessary.
-