This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author j1m
Recipients alexandre.vassalotti, belopolsky, ezio.melotti, fdrake, georg.brandl, j1m, matthew.fremont, stromnov, therve
Date 2010-01-26.12:04:27
SpamBayes Score 9.842903e-06
Marked as misclassified No
Message-id <1099b90b1001260404u704edcfew61439d6db7c74cec@mail.gmail.com>
In-reply-to <1264466154.89.0.121708601728.issue7372@psf.upfronthosting.co.za>
Content
On Mon, Jan 25, 2010 at 7:35 PM, Ezio Melotti <report@bugs.python.org> wrote:
>
> Ezio Melotti <ezio.melotti@gmail.com> added the comment:
>
> See also #7372.
>
> AFAIU add_callers can receive either a tuple or an int (and this is what is not working now). When I looked at #7372 I wasn't able to find out why it might receive two different objects and not always the same (i.e. always a tuple, possibly with only one int). From the first message it seems that cProfile returns the tuple of 4 ints and profile returns a single int.
> Can profile be fixed to return a tuple (of 4 or 1 ints) too?

Ah interesting.  I ran into this recently when I noticed that some
analysis tools I'd written a while back no longer worked and had to be
updated because data that were ints were now tuples.

Aside from these particular issues, it would be really great if the
profiler stats data structure was specified. :)

Jim
History
Date User Action Args
2010-01-26 12:04:29j1msetrecipients: + j1m, fdrake, georg.brandl, belopolsky, therve, alexandre.vassalotti, stromnov, matthew.fremont, ezio.melotti
2010-01-26 12:04:27j1mlinkissue7372 messages
2010-01-26 12:04:27j1mcreate