Message271230
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!) |
|
Date |
User |
Action |
Args |
2016-07-25 05:03:45 | gvanrossum | set | recipients:
+ gvanrossum, terry.reedy, serhiy.storchaka, yselivanov, Maxime S |
2016-07-25 05:03:45 | gvanrossum | set | messageid: <1469423025.49.0.0847903995065.issue27546@psf.upfronthosting.co.za> |
2016-07-25 05:03:45 | gvanrossum | link | issue27546 messages |
2016-07-25 05:03:45 | gvanrossum | create | |
|