[Python-Dev] Deleting with setting C API functions
Serhiy Storchaka
storchaka at gmail.com
Wed Dec 2 07:29:33 EST 2015
More information about the Python-Dev mailing list
Wed Dec 2 07:29:33 EST 2015
- Previous message (by thread): [Python-Dev] Deleting with setting C API functions
- Next message (by thread): [Python-Dev] Deleting with setting C API functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 02.12.15 12:06, Victor Stinner wrote: > 2015-12-02 9:42 GMT+01:00 Serhiy Storchaka <storchaka at gmail.com>: >> You have enough time to update your projects, and you can update them >> uniformly for all versions. And may be you will found few weird bugs related >> to misuse of Set* API. > > Did you check popular projects using C extensions to check if they > call Set*() functions to delete attributes/items? I have checked following projects. regex, simplejson, Pillow, PyQt4, LibreOffice, PyGTK, PyICU, pyOpenSSL, libxml2, Boost, psutil, mercurial don't use PyObject_SetAttr at all. NumPy, pgobject don't use PyObject_SetAttr for deleting. PyYAML and lxml use PyObject_SetAttr only in code generated by Cython and never use it for deleting.
- Previous message (by thread): [Python-Dev] Deleting with setting C API functions
- Next message (by thread): [Python-Dev] Deleting with setting C API functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list