[twill] twill - "title" bug?

Titus Brown titus at caltech.edu
Mon Nov 21 08:35:47 PST 2005

On Mon, Nov 21, 2005 at 03:20:42PM +0100, Simon B?nzli wrote:
-> Hello Titus
-> I've started employing twill for creating a test suite for some web
-> services. Unfortunately, there have so far been two hoops I had to jump
-> through:
-> * urllib2 does not support proxy bypassing as of Python 2.4. Since we're
-> using a global proxy and I'm developing locally, I first had to patch
-> urllib2 correspondingly (only got 403's for http://localhost/). See the
-> following links for possible fixes (or the attached diff file for a
-> minimal fix):
-> https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1154227&group_id=5470
-> https://sourceforge.net/tracker/?func=detail&atid=105470&aid=856047&group_id=5470

thanks -- I'll look into this.

-> * twill 0.7.4 apparently uses xml.dom.minidom for extracting the title
-> of an HTML page. Since this parser checks for well-formedness, all
-> non-XHTML pages raise an error when using "title". See the attached fix
-> for using wwwsearch's pullparser instead.
-> Otherwise, thanks a lot and keep up the good work.

Heh, I *just* put in this same fix, although yours looks more general.
(Mine isn't even available in the -latest.tar.gz.)  Great minds think
alike, and sometimes I think like that, too...


More information about the twill mailing list