- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | ivan_herman |
|---|---|
| Recipients | ivan_herman |
| Date | 2012-02-21.09:45:23 |
| SpamBayes Score | 3.173259e-08 |
| Marked as misclassified | No |
| Message-id | <1329817524.78.0.223656665156.issue14072@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
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) |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-02-21 09:45:24 | ivan_herman | set | recipients: + ivan_herman |
| 2012-02-21 09:45:24 | ivan_herman | set | messageid: <1329817524.78.0.223656665156.issue14072@psf.upfronthosting.co.za> |
| 2012-02-21 09:45:24 | ivan_herman | link | issue14072 messages |
| 2012-02-21 09:45:23 | ivan_herman | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
