This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, georg.brandl, gvanrossum, twouters
Date 2008-04-07.19:53:34
SpamBayes Score 0.38145924
Marked as misclassified No
Message-id <d38f5330804071253oba1aefew60caf4e8b4920b73@mail.gmail.com>
In-reply-to <ca471dc20804071207g19bd4caco9f756f69861e1ce3@mail.gmail.com>
Content
On Mon, Apr 7, 2008 at 3:07 PM, Guido van Rossum <report@bugs.python.org> wrote:

>  Can you show an example where this would be different?

Admittedly a contrived example, but

...    def __hash__(self):
...        print('hash', self)
...        return int.__hash__(self)
...
>>> a,b,c = map(X, range(3))
>>> {a,b,c}
hash 2
hash 1
hash 0
{0, 1, 2}
>>> {a,*(b,c)}
hash 0
hash 1
hash 2
{0, 1, 2}
History
Date User Action Args
2008-04-07 19:53:35belopolskysetspambayes_score: 0.381459 -> 0.38145924
recipients: + belopolsky, gvanrossum, twouters, georg.brandl
2008-04-07 19:53:34belopolskylinkissue2292 messages
2008-04-07 19:53:34belopolskycreate