<br><br><div><span class="gmail_quote">On 3/6/07, <b class="gmail_sendername">Georg Brandl</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Patch <a href="http://python.org/sf/1673355">http://python.org/sf/1673355</a> changes Ellipsis' repr() to '...'. While<br>this is consistent, the submitter himself noted that it would probably cause<br>problems with doctest.
<br><br>Additionally, '...' is currently used to denote recursive structures in the<br>repr of lists and dicts, so this would have to be changed too.<br><br>What do you think?</blockquote><div><br>I believe it is not worth changing Elipsis' repr. In fact, the problems with ... may indicate that we shouldn't allow '...' everywere after all... But I expect it isn't really a problem (It would be a syntax error when used like in doctests, and in the case of eval()'ing the repr of a dict/list it would otherwise raise a syntax error. The traditional meaning of elipsis is actually correct, there, although it's not how Python programmers are used to dealing with it.)
<br></div></div><br>-- <br>Thomas Wouters <<a href="mailto:email@example.com">firstname.lastname@example.org</a>><br><br>Hi! I'm a .signature virus! copy me into your .signature file to help me spread!