Closed as not planned
Closed as not planned
Description
Bug report
Bug description:
import cProfile
p1 = cProfile.Profile()
p1.enable()
p2 = cProfile.Profile()
p2.enable()
In Python 3.11 this used to pass, but in Python 3.12 the last line raises “ValueError: Another profiling tool is already active”.
CPython versions tested on:
3.12
Operating systems tested on:
Linux