Message265160
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:43 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, eric.smith, alex, abacabadabacaba, docs@python |
2016-05-08 19:44:43 | serhiy.storchaka | set | messageid: <1462736683.58.0.818607854714.issue18531@psf.upfronthosting.co.za> |
2016-05-08 19:44:43 | serhiy.storchaka | link | issue18531 messages |
2016-05-08 19:44:43 | serhiy.storchaka | create | |
|