Antoine Pitrou <pit...@free.fr> added the comment:

PyModule_AddObject steals the value's reference, so you need to INCREF it 
before. Besides that, I don't see any obvious bug, but perhaps Martin wants to 
take a look.

----------
nosy: +pitrou
priority: normal -> low
stage:  -> patch review

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14732>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to