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 scoder
Recipients Jeff.Kaufman, Joshua.Landau, NeilGirdhar, SpaghettiToastBook, andybuckley, belopolsky, benjamin.peterson, berker.peksag, eric.snow, ethan.furman, ezio.melotti, georg.brandl, gvanrossum, ncoghlan, paul.moore, pconnell, r.david.murray, scoder, steve.dower, terry.reedy, twouters, zbysz
Date 2015-05-07.18:34:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431023643.46.0.758398499777.issue2292@psf.upfronthosting.co.za>
In-reply-to
Content
I get a test failure in Cython's compatibility tests which seems to be attributable to this change:

    """
    >>> def sideeffect(x):
    ...     L.append(x)
    ...     return x
    >>> def unhashable(x):
    ...     L.append(x)
    ...     return [x]

    >>> L = []
    >>> {1:2, sideeffect(2): 3, 3: 4, unhashable(4): 5, sideeffect(5): 6}    # doctest: +ELLIPSIS
    Traceback (most recent call last):
    TypeError: ...unhashable...
    >>> L
    [2, 4]
    """

Instead, L ends up being [2, 4, 5]. Is this intended? Or acceptable?
History
Date User Action Args
2015-05-07 18:34:03scodersetrecipients: + scoder, gvanrossum, twouters, georg.brandl, terry.reedy, paul.moore, ncoghlan, belopolsky, benjamin.peterson, ezio.melotti, andybuckley, r.david.murray, zbysz, ethan.furman, eric.snow, berker.peksag, Joshua.Landau, steve.dower, pconnell, NeilGirdhar, Jeff.Kaufman, SpaghettiToastBook
2015-05-07 18:34:03scodersetmessageid: <1431023643.46.0.758398499777.issue2292@psf.upfronthosting.co.za>
2015-05-07 18:34:03scoderlinkissue2292 messages
2015-05-07 18:34:03scodercreate