>>> def open(self, url, data=None):
>>> """See zope.testbrowser.interfaces.IBrowser"""
>>> url = str(url)
This string coercion is unfortunate, because ``mechanize`` accepts a
(mechanize-) request-object in place of a URL string here. Using a
custom request object allows us to do such things as setting the
REQUEST_TYPE header string, which is not possible throught the
- Remove vendor import of mechanize.
- Fix bug that caused HTTP exception tracebacks to differ between
version 3.4.0 and 3.4.1.
- Workaround for bug in Python Cookie.SimpleCookie when handling
- Fix bug introduced in 3.4.1 that created incompatible tracebacks in
doctests. This necessitated adding a patched mechanize to the
source tree; patches have been sent to the mechanize project.
Not sure which of the above this coercion is trying to solve, but
perhaps it could be solved in a way that didn't break the mechanize
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -