Re: [Checkins] SVN: zope.testbrowser/trunk/ Fix bug introduced in 3.4.1 that created incompatible tracebacks in doctests.

Stephan Richter <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <200711031331.27938.srichter__22850.9293789559$1194111111$gmane$org@cosmos.phy.tufts.edu>
On Saturday 03 November 2007, Benji York wrote:
> Log message for revision 81431:
>   Fix bug introduced in 3.4.1 that created incompatible tracebacks in
> doctests. This neccesitated adding a patched mechanize to the source tree;
> patches have been sent to the mechanize project.

Yeah, you are right, I changed the errors since the last version of 
mechanize -- 0.1.7b -- throws the wrong error. I should have used RE 
normalizers to fix the problem instead of rewriting the doc tests. I will go 
through the packages that are effected and fix that.

A couple other notes about the checkin. 

Specifying versions in either the setup.py or buildout.cfg is a really bad 
idea because it makes it impossible for people with different KGSs to work on 
packages. The only sane solution that I see right now is to use KGSs, such as 
http://download.zope.org/zope3.4, as index pages.

Also, I am not sure that including mechanize in the testbrowser release is a 
good idea. What if other packages in my repos also use mechanize, but they 
rely on the good and bad things of the released packages? I think this will 
end in a big mess.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.