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 vstinner
Recipients fabioz, vstinner
Date 2020-03-13.12:14:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Note: currently there is a way to achieve that by pausing all the threads then selectively switching to a thread to make it current and setting the tracing function using the C-API (see:, but I believe this is very hacky and not portable to other Python implementations.

I'm not sure that I understand your need. Do you need a variant of PyEval_SetTrace() which accepts a tstate argument?
Date User Action Args
2020-03-13 12:14:26vstinnersetrecipients: + vstinner, fabioz
2020-03-13 12:14:26vstinnersetmessageid: <>
2020-03-13 12:14:26vstinnerlinkissue35370 messages
2020-03-13 12:14:26vstinnercreate