- 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 | zulla |
|---|---|
| Recipients | r.david.murray, zulla |
| Date | 2012-02-17.01:47:02 |
| SpamBayes Score | 2.0152556e-06 |
| Marked as misclassified | No |
| Message-id | <1329443223.62.0.551945864627.issue14036@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
Hi. No, it's a patched version. It won't crash under circumstances like that [1] and won't succeed with invalid input:
>>> import urlparse
>>> urlparse.urlparse("http://www.google.com:foo")
ParseResult(scheme='http', netloc='www.google.com:foo', path='', params='', query='', fragment='')
>>> urlparse.urlparse("http://www.google.com:foo").port
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urlparse.py", line 105, in port
port = int(netloc.split(':')[1], 10)
ValueError: invalid literal for int() with base 10: 'foo'
>>> |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-02-17 01:47:03 | zulla | set | recipients: + zulla, r.david.murray |
| 2012-02-17 01:47:03 | zulla | set | messageid: <1329443223.62.0.551945864627.issue14036@psf.upfronthosting.co.za> |
| 2012-02-17 01:47:03 | zulla | link | issue14036 messages |
| 2012-02-17 01:47:02 | zulla | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
