straw-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Straw-commits] address@hidden/straw--mainline--0.24--patch-31


From: juri
Subject: [Straw-commits] address@hidden/straw--mainline--0.24--patch-31
Date: Sun, 13 Jun 2004 12:16:33 +0300

Revision: straw--mainline--0.24--patch-31
Archive: address@hidden
Creator: Juri Pakaste <address@hidden>
Date: Sun Jun 13 12:16:32 EEST 2004
Standard-date: 2004-06-13 09:16:32 GMT
Modified-files: src/lib/URLFetch.py
New-patches: address@hidden/straw--mainline--0.24--patch-31
Summary: refactor Consumer/ProxyConsumer, fix a potential memory leak
Keywords: 

- Merged Consumer and ProxyConsumer as nothing else was subclassing Consumer
  and was unlikely to that. 
- Renamed it to ConsumerAdapter to slightly better reflect the way it works. 
- Renamed finished_callback to _send_results and added _send_failed so other 
  callback methods wouldn't be calling http_failed.
- Added a _close_connection method that closes the connection and removes
  the connection instance, to avoid uncollected circular references.
- Added a __str__ method.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]