]> granicus.if.org Git - python/commit
Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 26 Mar 2012 20:10:51 +0000 (22:10 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 26 Mar 2012 20:10:51 +0000 (22:10 +0200)
commit3c1e48176e077bbbf85183874f432de6d4ac8f88
treedd20a4a078f04f76e7f1526c268b0ec851c1bc2c
parent70b2e1e7d99431cf71c8177dcf42dba03435177e
Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions

These functions simplify the usage of static constant Unicode strings.
Generalize the usage of _Py_Identifier in ceval.c and typeobject.c.
Include/dictobject.h
Objects/dictobject.c
Objects/typeobject.c
Python/ceval.c