Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
I am attaching a proof-of-concept patch, issue9317.diff, which fixes the file name problem at the expense of more spurious modules: $ ./python.exe -m trace -c -s traceme.py lines cov% module (path) 7 100% codecs (Lib/codecs.py) 10 100% locale (Lib/locale.py) 4 100% pkgutil (Lib/pkgutil.py) 58 100% runpy (Lib/runpy.py) 6 100% traceme (traceme.py) ---------- keywords: +patch Added file: http://bugs.python.org/file18099/issue9317.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9317> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com