On 2020-06-24 01:09, Guido van Rossum wrote:
On Tue, Jun 23, 2020 at 4:41 PM MRAB <firstname.lastname@example.org mailto:email@example.com> wrote:
However, what if you wanted to match Ellipsis? This could lead to bugs: >>> ... Ellipsis >>> Ellipsis = 0 >>> Ellipsis 0 >>> ... Ellipsis
Now you're just being silly. If you want to use Ellipsis as a variable you can't also use it to refer to the "..." token.
The point here is that printing ... shows "Ellipsis" (not "..."), printing None shows "None", etc.
Printing Ellipsis also shows "Ellipsis", but you can bind to it. You can't bind to None, etc.