[issue9317] Incorrect coverage file from trace test_pickle.py
Alexander Belopolsky
report at bugs.python.org
Wed Jul 21 15:36:30 CEST 2010
Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:
On Jul 21, 2010, at 9:22 AM, Eli Bendersky <report at bugs.python.org>
wrote:
>
> Eli Bendersky <eliben at gmail.com> added the comment:
>
> <<<<
> Your new patch makes perfect sense, but can you check of regular
> python invocation uses runpy these days. If it does, it may make sense
> to include it in trace at least optionally.
>>>>>
>
> I'm not sure I understand what you mean by this. Could you please
> clarify?
>
Sorry, typing on the phone. s/of/if/ in my message above. What I mean
is that as far as I know, when you run a script from command line,
python loads it using functions in runpy. Arguably this means that
these functions should show up in coverage.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9317>
_______________________________________
More information about the Python-bugs-list
mailing list