<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 9, 2013 at 9:31 AM, Barry Warsaw <span dir="ltr"><<a href="mailto:barry@python.org" target="_blank">barry@python.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On May 09, 2013, at 09:24 AM, Guido van Rossum wrote:<br>
<br>
>+1. This is a good one. While adding module=__name__ is actually more<br>
>typing than passing __name__ + '.Color' as the class name, the current<br>
>proposal (parsing for dots) makes it very attractive to do the wrong thing<br>
>and hardcode the module name. Then typing the module incorrectly is very<br>
>easy, and the mistake is easily overlooked because it won't be noticed<br>
>until you actually try to pickle a member.<br>
<br>
</div>Seems reasonable.  The `module` argument should be keyword-only, and obviously<br>
namedtuple should support the same API.<br></blockquote></div><br></div><div class="gmail_extra">Yes, this was already pointed out by Eric in <a href="http://bugs.python.org/issue17941">http://bugs.python.org/issue17941</a> which tracks this feature for namedtuple.<br>

<br>Eli<br><br></div></div>