mprop
mprop copied to clipboard
cprofile crash with mprop
just write simple 3.py
import mprop from mprop import mproperty
@mproperty def test_aa(): printf("hhhh")
///////////////////////////////////////
then run command: python3 -m cProfile 3.py
will crash log:
Traceback (most recent call last):
File "/home/zhl/.pyenv/versions/3.8.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/zhl/.pyenv/versions/3.8.8/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/zhl/.pyenv/versions/3.8.8/lib/python3.8/cProfile.py", line 206, in
issue sames mprop handle sys profiler
Have you considered using a modern Python and not using my hack (this package)? I use the system debugger/tracing to do this, and it isn't compatible with profiling (which uses the same system).
On Thu, Jun 23, 2022, 6:19 AM haolongzhangm @.***> wrote:
issue sames mprop handle sys profiler
— Reply to this email directly, view it on GitHub https://github.com/josiahcarlson/mprop/issues/4#issuecomment-1164285262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABTDQRMW54DGMOFAGVLWW3VQRB2XANCNFSM5ZT7KOVQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>