New submission from Jasper van den Bosch <jap...@gmail.com>: urlparse.urljoin successfully joins 'http://localhost/repo1' with a filename, but not 'svn://localhost/repo1' (only scheme different). But the documentation states that the svn: scheme is supported: http://docs.python.org/library/urlparse.html
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from urlparse import urljoin >>> urljoin('svn://localhost/repo1', 'xxx.xyz') 'xxx.xyz' >>> urljoin('http://localhost/repo1', 'xxx.xyz') 'http://localhost/xxx.xyz' ---------- components: None messages: 141581 nosy: Jasper.van.den.Bosch priority: normal severity: normal status: open title: urlparse.urljoin different behavior for different scheme type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12683> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com