[wwwsearch-commits] r26696 - wwwsearch/mechanize/trunk

jjlee at codespeak.net jjlee at codespeak.net
Wed May 3 02:14:04 CEST 2006


Author: jjlee
Date: Wed May  3 02:14:03 2006
New Revision: 26696

Modified:
   wwwsearch/mechanize/trunk/0.1.0-changes.txt
Log:
Clarify / order API changes list

Modified: wwwsearch/mechanize/trunk/0.1.0-changes.txt
==============================================================================
--- wwwsearch/mechanize/trunk/0.1.0-changes.txt	(original)
+++ wwwsearch/mechanize/trunk/0.1.0-changes.txt	Wed May  3 02:14:03 2006
@@ -1,35 +1,34 @@
 Recent public API changes:
 
 - 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
+  older Pythons).  As a result, some tests fail for 2.2, 2.3, and 2.4.
 
 - 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)
+  mechanize.Factory (default_encoding, ...).
 
-- .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)
+  code).
 
-- _authen handler name renamed --> _basicauth
+- .links no longer raises LinkNotFoundError (was accidental -- only
+  .click_link() / .find_link() should raise this).
 
 - Rename set_credentials --> set_password_manager (and add some new
-  methods)
+  methods to improve auth and proxy support).
 
+- 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)
 
-Changed in SVN fairly recently (since last mechanize release):
- - Browser.encoding() now takes no parameters
+- mechanize.Browser.default_encoding is gone.
 
- - i_want_broken_xhtml_support moved from Browser to Factory()
+- Added Browser.encoding().
+
+- Factory() takes an i_want_broken_xhtml_support argument, as a stop
+  gap until I actually make a proper job of it.  Without a true value
+  for that argument, mechanize is ignorant of XML/XHTML.
+
+- _authen handler name renamed --> _basicauth


More information about the wwwsearch-commits mailing list