[Python-Dev] Inconsistency of PyModule_AddObject() (original) (raw)
Case Van Horsen casevh at gmail.com
Wed Apr 27 18:24:39 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 ]
On Wed, Apr 27, 2016 at 11:06 AM, Serhiy Storchaka <storchaka at gmail.com> wrote:
I think it is better to have relation with PyModuleAddIntConstant() etc than with PyObjectSetAttrString.
My patch doesn't introduce new public function, but changes the behavior of the old function. This needs minimal changes to user code that mostly use PyModuleAddObject() incorrectly (not blaming authors).
How will this impact code that uses PyModule_AddObject() correctly?
- 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 ]