Matthew Kenigsberg added the comment:
I think it would be nice to have a from str method that could reverse the
behavior of str(timedelta). I'm trying to parse files that contain the output
of str(timedelta), and there's no easy way to get them back to timedelta's
New submission from Matthew Kenigsberg :
Was trying to figure out the exact behavior of urljoin. As far as I can tell
(see https://bugs.python.org/issue22118) it should follow RFC 3986. According
to the algorithm in 5.2.2, I think this is wrong:
>>> urljoin("ftp://netloc"