
April 4, 2012
5:47 p.m.
Am 04.04.2012 18:18, schrieb Ethan Furman:
Lennart Regebro wrote:
On Tue, Apr 3, 2012 at 18:07, Ethan Furman <ethan@stoneleaf.us> wrote:
What's unclear about returning None if no clocks match?
Nothing, but having to check error values on return functions are not what you typically do in Python. Usually, Python functions that fail raise an error. Please don't force Python users to write pseudo-C code in Python.
You mean like the dict.get() function?
--> repr({}.get('missing')) 'None'
Strawman: this is not a failure. Georg