STINNER Victor added the comment:
> testfun(objid(), c_wchar_p('test'))
I'm not sure that the objid object lives until testfun() is called. It would be
safer to write:
o = objid()
testfun(o, c_wchar_p('test')))
o = None
----------
nosy: +haypo
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23104>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com