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 gvanrossum
Recipients Maxime S, gvanrossum, serhiy.storchaka, terry.reedy, yselivanov
Date 2016-07-25.05:03:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469423025.49.0.0847903995065.issue27546@psf.upfronthosting.co.za>
In-reply-to
Content
PS. I recommend this command line to play with tkcrawl.py:

python3 tkcrawl.py xkcd.com -q

The fetching process takes about 6.8 seconds to fetch 1765 URLs on my machine. The original crawl.py takes 6.2 seconds.

I guess the next step would be to hook up the logger to a Tk text widget. It would also be nice to have a set of Tk widgets keep track of the state of the connections in the ConnectionPool, showing for each connection what its state it. It's a little tricky because connections get opened and closed at random; I would recommend using a table assigning connections slots in the widget. The number of lines in the widget is limited by max_pool.

(I would code up more of this myself except my Tkinter is rusty!)
History
Date User Action Args
2016-07-25 05:03:45gvanrossumsetrecipients: + gvanrossum, terry.reedy, serhiy.storchaka, yselivanov, Maxime S
2016-07-25 05:03:45gvanrossumsetmessageid: <1469423025.49.0.0847903995065.issue27546@psf.upfronthosting.co.za>
2016-07-25 05:03:45gvanrossumlinkissue27546 messages
2016-07-25 05:03:45gvanrossumcreate