On Fri, 23 Sep 2005, Andrew Edmondson wrote:
> We've found a problem using urllib.urljoin when upgrading
> from python 2.3 to 2.4. It no longer joins a particular
> corner case of URLs correctly (we think!).
>
> The code appears to follow the algorithm (from
> http://www.ietf.org/rfc/rfc1808.txt)
Sokolov Yura wrote:
> Sorry for looking in every hole.
> Just a suggestion.
>
> A= condition and first or second
> problem is in case when first in (None,0,[],"").
> May be invent new operator 'take'.
> take - returns right operator when left evals to True and stops
> computing condidtional expr
Dear all,
We've found a problem using urllib.urljoin when upgrading
from python 2.3 to 2.4. It no longer joins a particular
corner case of URLs correctly (we think!).
The code appears to follow the algorithm (from
http://www.ietf.org/rfc/rfc1808.txt) for resolving urls
almost exacty...
I believe
Sorry for looking in every hole.
Just a suggestion.
A= condition and first or second
problem is in case when first in (None,0,[],"").
May be invent new operator 'take'.
take - returns right operator when left evals to True and stops
computing condidtional expression.
Then we could write:
A = co