Message153524
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'
>>> |
|
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 | |
|