[issue23104] [Windows x86-64] Incorrect function call

STINNER Victor report at bugs.python.org
Fri Dec 26 00:26:29 CET 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue23104>
_______________________________________


More information about the Python-bugs-list mailing list