[wwwsearch-commits] r26610 - wwwsearch/mechanize/branch/mechanize-0.1.0-devel

jjlee at codespeak.net jjlee at codespeak.net
Sun Apr 30 18:02:03 CEST 2006


Author: jjlee
Date: Sun Apr 30 18:02:02 2006
New Revision: 26610

Modified:
   wwwsearch/mechanize/branch/mechanize-0.1.0-devel/0.1.0-changes.txt
Log:
Improve 0.1.0 changes doc

Modified: wwwsearch/mechanize/branch/mechanize-0.1.0-devel/0.1.0-changes.txt
==============================================================================
--- wwwsearch/mechanize/branch/mechanize-0.1.0-devel/0.1.0-changes.txt	(original)
+++ wwwsearch/mechanize/branch/mechanize-0.1.0-devel/0.1.0-changes.txt	Sun Apr 30 18:02:02 2006
@@ -3,14 +3,30 @@
 - ATM, auth support requires Python 2.5 (I hope to fix this soon for
   older Pythons).  As a result, the tests are failing for 2.2, 2.3,
   and 2.4.
+
 - mechanize.Browser.default_encoding is gone
-- Some mechanize.Browser constructor args have been removed (default_encoding, ...)
-- mechanize.Factory has changed completely.
+
+- Some mechanize.Browser constructor args have been moved to
+  mechanize.Factory (default_encoding, ...)
+
+- mechanize.Factory has changed completely, to make it easier to avoid
+  re-parsing (principally: add .set_response() method and make
+  factory methods take no args)
+
 - .links no longer raises LinkNotFoundError (was accidental -- only
   .click_link() / .find_link() should raise this)
-- .get_links_iter is gone (use .links() instead)
+
+- .get_links_iter() is gone (use .links() instead)
+
+- .forms() and .links() now both return iterators (in fact, generators),
+  not sequences (not really an interface change: these were always
+  documented to return iterables, but it will no doubt break some client
+  code)
+
 - _authen handler name renamed --> _basicauth
 
+
 Changed in SVN fairly recently (since last mechanize release):
- - .encoding() now takes no parameters
+ - Browser.encoding() now takes no parameters
+
  - i_want_broken_xhtml_support moved from Browser to Factory()


More information about the wwwsearch-commits mailing list