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 ratsberg
Recipients ratsberg
Date 2007-11-02.19:17:00
SpamBayes Score 0.1264768
Marked as misclassified No
Message-id <1194031021.72.0.351195403989.issue1375@psf.upfronthosting.co.za>
In-reply-to
Content
Python 2.4.4 - 64 Bit
This code reproduceably fails with
IndexError: pop from empty list


def start(x):
	x.start()
	
if __name__ == "__main__":
	import hotshot
	prof = hotshot.Profile("test3_stats")
	start(prof)
	#prof.start()	
	prof.stop()
	prof.close()
	from hotshot import stats
	s = stats.load("test3_stats")

Note1: This issue may be identical with Issue1019882 (another situation
but same Error.)
Note2: Workaround exists: Replace the line "start(prof)" with
"prof.start()".
In this case, the resulting stats (binary) file is 1 Byte shorter, and
no error happens.
History
Date User Action Args
2007-11-02 19:17:02ratsbergsetspambayes_score: 0.126477 -> 0.1264768
recipients: + ratsberg
2007-11-02 19:17:01ratsbergsetspambayes_score: 0.126477 -> 0.126477
messageid: <1194031021.72.0.351195403989.issue1375@psf.upfronthosting.co.za>
2007-11-02 19:17:01ratsberglinkissue1375 messages
2007-11-02 19:17:00ratsbergcreate