[Python-Dev] Inconsistency of PyModule_AddObject() (original) (raw)
Stefan Krah stefan at bytereef.org
Thu Apr 28 04:38:19 EDT 2016
- Previous message (by thread): [Python-Dev] Inconsistency of PyModule_AddObject()
- Next message (by thread): [Python-Dev] Inconsistency of PyModule_AddObject()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Serhiy Storchaka <storchaka gmail.com> writes:
No impact except emitting a deprecation warning at build time. But we can remove a deprecation warning and add it in future release if this is annoying.
But are you sure, that your code uses PyModuleAddObject() correctly? Only two modules in the stdlib (json and tkinter) used it correctly. Other modules have bugs even in tries to use PyModuleAddObject() correctly for some operations.
Could you perhaps stop labeling this as a bug? Usually we are talking about a single "leak" that a) does not even show up in Valgrind and b) only occurs under severe memory pressure when the OOM-killer is already waiting.
I'm honestly mystified by your terminology and it's beginning to feel that you need to justify this patch at all costs.
Stefan Krah
- Previous message (by thread): [Python-Dev] Inconsistency of PyModule_AddObject()
- Next message (by thread): [Python-Dev] Inconsistency of PyModule_AddObject()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]