Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
PyModule_AddObject() has unique weird design, it is easy to misuse, and most code misuse it, but fixing it would break the code which uses it correctly. I did not see any problems with PyTuple_GetItem(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42294> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com