New submission from Ivan Herman <ivan.her...@cwi.nl>: I think that the screen dump below is fairly clear:
10:41 Ivan> python Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import urlparse >>> x = "tel:+31-641044153" >>> urlparse.urlparse(x) ParseResult(scheme='tel', netloc='', path='+31-641044153', params='', query='', fragment='') >>> y = "tel:+31641044153" >>> urlparse.urlparse(y) ParseResult(scheme='', netloc='', path='tel:+31641044153', params='', query='', fragment='') >>> It seems that, when the phone number does not have any separator character, the parsing goes wrong (separators are not required per RFC 3966) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14072> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com