[Python-Dev] Const-correctness in C-API Object Protocol

"Martin v. Löwis" martin at v.loewis.de
Tue Feb 22 22:57:16 CET 2011


> Also changing it now would be a giant hassle, leading to so-called
> "const poisoning" where many, many APIs need to be changed before
> everything would again work.

We have been adding const to many places over the years. I think the
specific case was just missed (i.e. nobody cared about adding const
there).

Regards,
Martin


More information about the Python-Dev mailing list