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 Mark.Shannon
Recipients Mark.Shannon, nedbat, rhettinger, serhiy.storchaka
Date 2020-12-21.11:01:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
But why remove it? It is in the source code.

Do we want tracing and profiling to depend on what transformations the optimizer does or does not make?

What lines are to be traced here? What is the last line executed?

def no_code():
    if 0:

Consider the code:

def one():
    return 1

def two():
    return one() + 1

def const_test():
    if two() != 2:

What lines should be traced here?
If the runtime does speculatively inlining, should it change what code is to be traced?
Date User Action Args
2020-12-21 11:01:26Mark.Shannonsetrecipients: + Mark.Shannon, rhettinger, nedbat, serhiy.storchaka
2020-12-21 11:01:26Mark.Shannonsetmessageid: <>
2020-12-21 11:01:26Mark.Shannonlinkissue42693 messages
2020-12-21 11:01:26Mark.Shannoncreate