Sun, 29 Jun 2008 15:23:09 +0200 hgweb: all protocol functions have become generators
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 15:23:09 +0200] rev 6784
hgweb: all protocol functions have become generators Using the write() callable supplied by the start_response() call is frowned upon by the WSGI spec, returning an iterable over the content chunks is the recommended way. Be aware, though: returning many small chunks will slow down responses, because the server has to flush each chunk separately.
Sun, 29 Jun 2008 13:16:25 +0200 templater: make a template a string-only iterator
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 29 Jun 2008 13:16:25 +0200] rev 6783
templater: make a template a string-only iterator
(0) -3000 -1000 -300 -100 -30 -10 -2 +2 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip