<div dir="ltr"><div class="gmail_default" style="font-size:small">On Mon, Dec 11, 2017 at 5:10 PM, Chris Barker - NOAA Federal <span dir="ltr"><<a href="mailto:chris.barker@noaa.gov" target="_blank">chris.barker@noaa.gov</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class="">.<br><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span></blockquote></blockquote><span></span><span>I see a couple of options:</span><br><span>1a: Use a default type annotation, if one is not is supplied. typing.Any would presumably make the most sense.</span><br><span>1b: Use None if not type is supplied.</span><br><span>2: Rework the code to not require annotations at all.</span><br><span></span><br><span>I think I'd prefer 1a, since it's easy. </span></blockquote><div><br></div></span><div>2) would be great :-)</div><div><br></div><div>I find this bit of “typing creep” makes me nervous— Typing should Never be required!</div><div><br></div></div></blockquote><div><div class="gmail_default" style="font-size:small;display:inline">​+1</div></div><div><div class="gmail_default" style="font-size:small;display:inline">​</div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div></div><div>I understand that the intent here is that the user could ignore typing and have it all still work. But I’d rather is was not still there under the hood.</div><div><br></div><div>Just because standardized way to do something is included in core Python doesn’t mean the standard library has to use it.</div><span class=""><div><br></div></span></div></blockquote><div><div class="gmail_default" style="font-size:small;display:inline">​I trust my repetition of the point that the stdlib is an important learning resource isn't unduly harping on the subject. Python is in danger of becoming pretty arcane rather too rapidly for my own liking​, though I confess to being mostly a consumer of Python.</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div></div><blockquote type="cite"><span>However, typing is not currently imported by dataclasses.py. </span></blockquote><div><br></div></span><div>And there you have an actual reason besides my uneasiness :-)</div><div><br></div>- CHB<div><br></div></div></blockquote></div><div class="gmail_default" style="font-size:small">​hmm...​</div><br></div></div>