On Sat, Aug 6, 2011 at 12:16 PM, Vipul Raheja <vipul.ii...@gmail.com> wrote:
> Hi Chris,
> Thanks for the reply.
> However, the error occurs even if I don't do anything, that is, even if I
> simply import the library and exit() after that.
> I created a file a.py whose contents were the following:
> import pyossim
> exit()

In that case, it may be in your initialization/cleanup code. Check to
see if you return Py_None without increffing it, or keep a reference
to something you don't own and decref it on exit.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to