[twill] BeautifulSoup conflicts

Titus Brown titus at caltech.edu
Tue Aug 8 16:52:48 PDT 2006


On Tue, Aug 08, 2006 at 11:51:12PM +0000, John J Lee wrote:
-> On Tue, 8 Aug 2006, twill.overbored at spamgourmet.com wrote:
-> [...]
-> > There's almost certainly a way to have the two coexist (maybe I can
-> > specify a BeautifulSoup version number from within mechanize and
-> > ClientForm).
-> 
-> Actually, now you mention that, I remember that I had figured I might have 
-> to temporarily bundle BeautifulSoup (in renamed form) in mechanize for 
-> this reason -- the setuptools multi-version support doesn't address the 
-> problem of multiple versions being used *in the same process*.  This isn't 
-> a problem with applications that depend on specific versions of libraries, 
-> but it is a problem with libraries that depend on other libraries.  I 
-> wonder if PJE might be sympathetic to this problem...

I'm pretty sure that the import semantics in Python simply don't allow
for this.  Of course, if anyone can get around them, it's PJE ;)

--titus



More information about the twill mailing list