<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">.<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><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>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><div><br></div><blockquote type="cite"><span>However, typing is not currently imported by dataclasses.py. </span></blockquote><div><br></div><div>And there you have an actual reason besides my uneasiness :-)</div><div><br></div>- CHB<div><br></div><div><br><div><div><blockquote type="cite"><br></blockquote></div></div></div></body></html>