On 5/2/2020 6:03 PM, Alex Hall wrote:
On Sat, May 2, 2020 at 11:39 PM Richard Damon
<[email protected] <mailto:[email protected]>> 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/W7TO6NIXLWSBWNAWRUNDSTSAYDISOVVA/
Code of Conduct: http://python.org/psf/codeofconduct/