[wwwsearch-commits] r26608 -
wwwsearch/mechanize/branch/mechanize-0.1.0-devel
jjlee at codespeak.net
jjlee at codespeak.net
Sun Apr 30 17:58:09 CEST 2006
Author: jjlee
Date: Sun Apr 30 17:58:08 2006
New Revision: 26608
Added:
wwwsearch/mechanize/branch/mechanize-0.1.0-devel/0.1.0-changes.txt
Modified:
wwwsearch/mechanize/branch/mechanize-0.1.0-devel/README.html.in
Log:
Update docs re recent API changes &c.
Added: wwwsearch/mechanize/branch/mechanize-0.1.0-devel/0.1.0-changes.txt
==============================================================================
--- (empty file)
+++ wwwsearch/mechanize/branch/mechanize-0.1.0-devel/0.1.0-changes.txt Sun Apr 30 17:58:08 2006
@@ -0,0 +1,16 @@
+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
+- Some mechanize.Browser constructor args have been removed (default_encoding, ...)
+- mechanize.Factory has changed completely.
+- .links no longer raises LinkNotFoundError (was accidental -- only
+ .click_link() / .find_link() should raise this)
+- .get_links_iter is gone (use .links() instead)
+- _authen handler name renamed --> _basicauth
+
+Changed in SVN fairly recently (since last mechanize release):
+ - .encoding() now takes no parameters
+ - i_want_broken_xhtml_support moved from Browser to Factory()
Modified: wwwsearch/mechanize/branch/mechanize-0.1.0-devel/README.html.in
==============================================================================
--- wwwsearch/mechanize/branch/mechanize-0.1.0-devel/README.html.in (original)
+++ wwwsearch/mechanize/branch/mechanize-0.1.0-devel/README.html.in Sun Apr 30 17:58:08 2006
@@ -160,6 +160,8 @@
<h3>Specific to mechanize</h3>
<ul>
<li>Make encoding_finder public, I guess.
+ <li>Fix BeautifulSoup support to use a single BeautifulSoup instance
+ per page.
<li>Test BeautifulSoup support better / fix encoding issue.
<li>Support Mark Pilgrim's universal encoding detector?
<li>Add another History implementation or two and finalise interface.
@@ -168,12 +170,11 @@
<li>Add <code>Browser.form_as_string()</code> and
<code>Browser.__str__()</code> methods.
<li>Add two-way links between BeautifulSoup & ClientForm object models.
- <li>Add basic proxy support. I hope somebody else does this!
</ul>
<h3>mechanize documentation</h3>
<ul>
- <li>Add docs re auth! And perhaps simpler API...
+ <li>Auth / proxies.
<li>Document means of processing response on ad-hoc basis with
.set_response() - e.g. to fix bad encoding in Content-type header or
clean up bad HTML.
More information about the wwwsearch-commits
mailing list