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 veky
Recipients veky
Date 2015-07-05.13:05:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436101543.42.0.85714652308.issue24569@psf.upfronthosting.co.za>
In-reply-to
Content
It seems the consequences of PEP 0448 weren't really thought through. :-/ (And BTW why isn't it in "What's new in Python 3.5"? I know there is a file with full details, but I guess this really should be notable enough.)

    {0:1, **{0:2}, 0:3, 0:4}

Do you know what is the value of that dict? And does it make sense to you? It surely doesn't make sense to me (though I understand the implementation). I know things are really subtle and even Guido gets it wrong (https://bugs.python.org/msg234413), even without PEP 0448, but this particular instance is horrible.

ValueError would be perfect, I'd be ok with 4, I'd shrug on 1, I'd frown on 2, but I _scream_ on 3. Please fix this until it's too late and fictional "backward compatibility" starts to freeze the wrong behaviour.
History
Date User Action Args
2015-07-05 13:05:43vekysetrecipients: + veky
2015-07-05 13:05:43vekysetmessageid: <1436101543.42.0.85714652308.issue24569@psf.upfronthosting.co.za>
2015-07-05 13:05:43vekylinkissue24569 messages
2015-07-05 13:05:43vekycreate