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 xtreak
Recipients mneerup, pitrou, xtreak
Date 2020-01-03.16:03:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578067390.78.0.818121781291.issue39201@roundup.psfhosted.org>
In-reply-to
Content
Please include the script as an attachment or text so that it will be easy to view them. The script as below from the attachment : 

import threading
import time
import tracemalloc

def callback():
    pass

tracemalloc.start()
for i in range(100000):
    snapshot1 = tracemalloc.take_snapshot()
    for i in range(100000):
        timer = threading.Timer(1, callback)
        timer.start()
    snapshot2 = tracemalloc.take_snapshot()
    top_stats = snapshot2.compare_to(snapshot1, 'lineno')
    print("[ Top 10 differences ]")
	
    for stat in top_stats[:10]:
        print(stat)
History
Date User Action Args
2020-01-03 16:03:10xtreaksetrecipients: + xtreak, pitrou, mneerup
2020-01-03 16:03:10xtreaksetmessageid: <1578067390.78.0.818121781291.issue39201@roundup.psfhosted.org>
2020-01-03 16:03:10xtreaklinkissue39201 messages
2020-01-03 16:03:10xtreakcreate