Closed ctrngk closed 4 years ago
I suspect you want to actually trace os.path
instead yes? The problem is that os.path
is aliased to ntpath or posixpath depending on platform at runtime (when you import os
) so there's little that hunter can do for that, safely that is.
Would this solve the problem for you?
PYTHONHUNTER='Q(module="os")|Q(module="ntpath")|Q(module="posixpath")' python...
Hi,
I evaluate legacy codes in python2 but it is not working as expected
demo.py is as follows
works in python3
not in python2
Regards,