ClientCookie problem - Difference between 'post' on the local network and the internet
Max M
maxm at mxm.dk
Sat Oct 23 06:15:00 EDT 2004
Fuzzyman wrote:
> On Fri, 22 Oct 2004 13:39:05 +0200, Max M <maxm at mxm.dk> wrote:
> Are you using Version 1.0.0a ?
Yes
> There is a bug (well actually a bug in urllib2 - but it amoutns to the
> same thing) that is fixed in CVS. Either use CVS or go back to 0.4
> whatever which is the latest stable version.
argh! Well that was a day of my life wasted :-( Well at least *this* day
was saved. Thank you.
It's one of the damnest problems with programming.
Either you write a module like ClientCookie yourself. Then you can find
bugs rather easily. But it takes so long to work out the special cases.
Or you can use an existing library. But if that has a bug, or is poorly
documented, you need to understand the library pretty well to bug fix
it. Leaving you esssentially in the hands of the author.
I find that moments like these are among the most frustrating in
programming.
Unfurtunately there is no easy way out, but some of the best stuff I
have seen to solve these kind of documentation problems, is the doctest
based code in Zope 3.
This approach to testing makes their code *really* easy to understand.
--
hilsen/regards Max M, Denmark
http://www.mxm.dk/
IT's Mad Science
More information about the Python-list
mailing list