On 5/2/2020 6:03 PM, Alex Hall wrote:
On Sat, May 2, 2020 at 11:39 PM Richard Damon <rich...@damon-family.org <mailto:rich...@damon-family.org>> wrote:

    Doesn't it also imply that ('a',) == 'a' and that you couldn't get a
    dict to use both of these as keys?


```
>>> {1.0: 2, 1: 3}
{1.0: 3}
```

I think the implication is that if ('a',) == 'a' it would cause a breaking change, whereas the float / integer behavior is existing.

Eric

_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/W7TO6NIXLWSBWNAWRUNDSTSAYDISOVVA/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to