[Python-Dev] cpython: Use identifier API for PyObject_GetAttrString.

Antoine Pitrou solipsis at pitrou.net
Thu Oct 13 20:05:08 CEST 2011


On Thu, 13 Oct 2011 20:05:06 +0200
"Martin v. Löwis" <martin at v.loewis.de> wrote:
> > - In Modules/_json.c, line 1126, _Py_identifier(strict) is
> > declared but not used, and there are 5 other possible replacements.
> 
> Antoine reverted this in 8ed6a627a834. I think I started doing them,
> then noticed that this is an initializer, so it's likely not called
> that often.

That's what I thought too. There didn't seem to be much point in
optimizing that code.

Regards

Antoine.




More information about the Python-Dev mailing list