[issue19786] tracemalloc: remove arbitrary limit of 100 frames

2013-11-27 Thread STINNER Victor

STINNER Victor added the comment:

I ran 17 random tests of the Python test suite: the longest traceback contains 
85 frames, the mean is 31.6 frames.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19786] tracemalloc: remove arbitrary limit of 100 frames

2013-11-27 Thread Roundup Robot

Roundup Robot added the comment:

New changeset eead17ba32d8 by Victor Stinner in branch 'default':
Closes #19786: tracemalloc, remove the arbitrary limit of 100 frames
http://hg.python.org/cpython/rev/eead17ba32d8

--
nosy: +python-dev
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19786] tracemalloc: remove arbitrary limit of 100 frames

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis :


--
nosy: +Arfrever

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19786] tracemalloc: remove arbitrary limit of 100 frames

2013-11-25 Thread STINNER Victor

New submission from STINNER Victor:

It should be possible to collect more than 100 frames per traceback (even it is 
much slower and uses much more memory).

I prepared the code to make it possible. Now only one thread should call 
traceback_new() at the same time, and the maximum number of frames is fixed 
while tracemalloc is tracing.

I will work on a patch.

--
messages: 204440
nosy: haypo
priority: normal
severity: normal
status: open
title: tracemalloc: remove arbitrary limit of 100 frames
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com