On 2/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I just noticed that cProfile (like profile) prints to stdout. Yuck. I
guess that's to be expected because the pstats module does the actual
printing and it's used by both modules. I'm willing to give up backward
compatibility to achieve
[Skip]
I just noticed that cProfile (like profile) prints to stdout. Yuck. I
guess that's to be expected because the pstats module does the actual
printing and it's used by both modules. I'm willing to give up backward
compatibility to achieve a little more sanity and flexibility here. I
[EMAIL PROTECTED] wrote:
I just noticed that cProfile (like profile) prints to stdout. Yuck. I
guess that's to be expected because the pstats module does the actual
printing and it's used by both modules. I'm willing to give up backward
compatibility to achieve a little more sanity and
Georg Probably related:
Georg http://python.org/sf/1235266
Don't think so. That was just a documentation nit (and is now fixed and
closed at any rate).
Skip
___
Python-Dev mailing list
Python-Dev@python.org
[EMAIL PROTECTED] wrote:
Georg Probably related:
Georg http://python.org/sf/1235266
Don't think so. That was just a documentation nit (and is now fixed and
closed at any rate).
Well, it is another module that prints to stdout instead of stderr.
Okay, not so closely related ;)
On 2/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I just noticed that cProfile (like profile) prints to stdout. Yuck.
Can you clarify? Why is it wrong to send the output of the profiler to
stdout? It seems to make sense to me that you should be able to
redirect the profiler's output to a
I just noticed that cProfile (like profile) prints to stdout. Yuck.
Guido Can you clarify? Why is it wrong to send the output of the
Guido profiler to stdout?
If the program emits a bunch of output of its own I want to keep it separate
from what is arguably the debug output of the
On 2/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I just noticed that cProfile (like profile) prints to stdout. Yuck.
Guido Can you clarify? Why is it wrong to send the output of the
Guido profiler to stdout?
If the program emits a bunch of output of its own I want to
It is currently impossible to separate profile output from the
program's output.
Guido It is if you use the advanced use of the profiler -- the
Guido profiling run just saves the profiling data to a file, and the
Guido pstats module invoked separately prints the output.