On Fri, Mar 3, 2017 at 11:15 AM, Kyle Lahnakoski <klahnako...@mozilla.com> wrote:
> Python > has a fundamentally different philosophy about None that conflicts with > what I need for my domain [2] where I am transforming and interpreting > data. Using a set of classes that make a different set of assumptions > about None is not arduous, it keeps the definitions separate, and I > still get all wonderfulness of Python. > not really related to this thread, but you may want to use your own "sentinal" singletons, rather than special case code to deal with None. i.e. BadData MissingData UnSpecified M.A. Lemberg has been talking about that on this list (in this thread? I've lost track...) -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/