[twill] BeautifulSoup conflicts

Titus Brown titus at caltech.edu
Sun Jul 9 10:13:24 PDT 2006


On Mon, Jul 03, 2006 at 09:34:46AM +0100, John J Lee wrote:
-> On Sun, 2 Jul 2006, twill.overbored at spamgourmet.com wrote:
-> 
-> > Hi all,
-> >
-> > I'm trying to use both twill and BeautifulSoup. I downloaded the
-> > latest BeautifulSoup (3.0.3) and have the following simple program:
-> >
-> > from BeautifulSoup import BeautifulSoup
-> > from twill.commands import *
-> > from twill.errors import *
-> > from twill import *
-> > from sys import *
-> > go('http://youtube.com/')
-> > follow( 'Log In' )
-> >
-> > This raises a hard-to-decipher exception. Once I remove the
-> > BeautifulSoup improt, everything's fine. Should this be filed as a
-> > twill bug? Any workarounds in the meantime? Thanks in advance.
-> 
-> mechanize currently does not work with BeautifulSoup 3 -- it needs 2.x. 
-> (And since you can't easily declare "optional dependencies", it's hard to 
-> declare that to easyinstall / setuptools.  Perhaps I should declare an 
-> "extra" called simply "BeautifulSoup"...)

Hi, John,

is there any plan to update to BeautifulSoup 3?

thanks,
--titus



More information about the twill mailing list