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 vstinner
Date 2019-06-26.15:26:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In Python 3.6, sys.callstats() was a way to retrieve statistics produced by Python/ceval.c when Python was compiled with a special build option: CALL_PROFILE. The function was implemented with PyEval_GetCallStats().

I removed CALL_PROFILE special build and deprecated sys.callstats() in bpo-28799:

commit a61a54b149cfcbcee15b37f557be730f0e30b6ad
Author: Victor Stinner <>
Date:   Mon Nov 28 12:06:13 2016 +0100

    Issue #28799: Update Misc/SpecialBuilds.txt
    Remove CALL_PROFILE.

sys.callstats() always returned None since Python 3.7.

Attached PR removed sys.callstats().
Date User Action Args
2019-06-26 15:26:47vstinnersetrecipients: + vstinner
2019-06-26 15:26:46vstinnersetmessageid: <>
2019-06-26 15:26:46vstinnerlinkissue37414 messages
2019-06-26 15:26:46vstinnercreate