Python calls Trace Handler fn within call to PyObject_Str

Tom NoSpam at NoSpam.com
Thu Jan 18 20:34:55 EST 2001


My C++ module calls the PyObject_Str function, as so:

  PyObject* pPyStr = PyObject_Str( m_pPyObject );  // New Ref

Stepping through the code in my debugger, I see that beneath (or 'within')
this call, Python is calling my trace handler function.  The trace event is
a 'call'.  Is this normal behavior?

I'm using Python 2.0 on Win2K SP1, with VC6 SP4.

Thanks,

Tom.






More information about the Python-list mailing list