]> granicus.if.org Git - python/commit
Make the low-level log-reader object export a dictionary mapping keys
authorFred Drake <fdrake@acm.org>
Mon, 29 Oct 2001 20:45:57 +0000 (20:45 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 29 Oct 2001 20:45:57 +0000 (20:45 +0000)
commit4c2e1af8905fe26fe42c63491b171db3ba099808
tree9a7e999059f8e5a0f3d30532b5623f7ae0846d60
parent1117d930fa0b5987c4a7e82f4743b4741dcd141c
Make the low-level log-reader object export a dictionary mapping keys
to lists of values, giving the contents of all the ADD_INFO records
seen so far.  This is initialized agressively when the log file is
opened, so that whoever is looking at the log reader can always see
the initial data loaded into the data stream.  ADD_INFO events later
in the log file continue to be reported to the application layer as
before.

Add a new method, addinfo(), to the profiler.  This can be used to
insert additional ADD_INFO records into the profiler log.

Fix the tp_flags and tp_name slots on the type objects.
Modules/_hotshot.c