This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author robert.kern
Recipients georg.brandl, robert.kern
Date 2009-08-28.23:52:03
SpamBayes Score 4.5401528e-05
Marked as misclassified No
Message-id <1251503525.6.0.896923124912.issue6798@psf.upfronthosting.co.za>
In-reply-to
Content
The final 'arg' argument of the sys.settrace() callback is documented to
be None for the 'c_return' and 'c_exception' events, but it appears to
be the function object itself. Additionally, the 'return' event's
argument may be None if the 'return' event is being generated because of
an exception. These errors also exist in the Py_tracefunc documentation
in the C API. The latter error is not particularly important for the
Python API, but in the C API the argument may be a NULL pointer.

I am happy to make the corrections if someone will confirm that my
analysis is correct.
History
Date User Action Args
2009-08-28 23:52:05robert.kernsetrecipients: + robert.kern, georg.brandl
2009-08-28 23:52:05robert.kernsetmessageid: <1251503525.6.0.896923124912.issue6798@psf.upfronthosting.co.za>
2009-08-28 23:52:04robert.kernlinkissue6798 messages
2009-08-28 23:52:03robert.kerncreate