[wwwsearch-commits] r27557 - wwwsearch/mechanize/trunk/mechanize
jjlee at codespeak.net
jjlee at codespeak.net
Sun May 21 23:11:04 CEST 2006
Author: jjlee
Date: Sun May 21 23:11:03 2006
New Revision: 27557
Modified:
wwwsearch/mechanize/trunk/mechanize/_util.py
Log:
Add note re pickling
Modified: wwwsearch/mechanize/trunk/mechanize/_util.py
==============================================================================
--- wwwsearch/mechanize/trunk/mechanize/_util.py (original)
+++ wwwsearch/mechanize/trunk/mechanize/_util.py Sun May 21 23:11:03 2006
@@ -616,6 +616,10 @@
# 2. read to end
# 3. close socket, pickle state including read position, then open
# again on unpickle and use Range header
+ # XXXX um, 4. refuse to pickle unless .close()d. This is better,
+ # actually ("errors should never pass silently"). Pickling doesn't
+ # work anyway ATM, because of http://python.org/sf/1144636 so fix
+ # this later
# 2 breaks pickle protocol, because one expects the original object
# to be left unscathed by pickling. 3 is too complicated and
More information about the wwwsearch-commits
mailing list