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 serhiy.storchaka
Recipients abacabadabacaba, alex, barry, docs@python, eric.smith, serhiy.storchaka
Date 2016-05-08.19:44:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
str.format() uses PyDict_GetItem() in 2.7, but PyObject_GetItem() in 3.x. A comment before:

        /* Use PyObject_GetItem instead of PyDict_GetItem because this
           code is no longer just used with kwargs. It might be passed
           a non-dict when called through format_map. */

Thus the behavior of str.format() was changed by accident.
Date User Action Args
2016-05-08 19:44:43serhiy.storchakasetrecipients: + serhiy.storchaka, barry, eric.smith, alex, abacabadabacaba, docs@python
2016-05-08 19:44:43serhiy.storchakasetmessageid: <>
2016-05-08 19:44:43serhiy.storchakalinkissue18531 messages
2016-05-08 19:44:43serhiy.storchakacreate