[Python-Dev] an alternative to embedding policy in PEP 418 (was: PEP 418: Add monotonic clock)

Stephen J. Turnbull stephen at xemacs.org
Thu Apr 5 15:06:38 CEST 2012


On Thu, Apr 5, 2012 at 8:05 AM, Oleg Broytman <phd at phdru.name> wrote:
>   Well, I am partially retreat. "Errors should never pass silently.
> Unless explicitly silenced." get_clock(FLAG, on_error=None) could return
> None.

I still don't see what's erroneous about returning None when asked for
an object that is documented to possibly not exist, ever, in some
implementations.  Isn't that precisely why None exists?


More information about the Python-Dev mailing list