Message172700
Attaching patch to trim leading and trailing whitespaces prior to processing.
Incidentally, this also means:
>>> socket.gethostbyname('')
'0.0.0.0'
>>> socket.gethostbyname(' ')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
socket.gaierror: [Errno -5] No address associated with hostname
But I'm not sure if we're okay with changing that semantics, so I left it be in this patch. |
|
Date |
User |
Action |
Args |
2012-10-11 22:07:21 | santoso.wijaya | set | recipients:
+ santoso.wijaya, maker |
2012-10-11 22:07:21 | santoso.wijaya | set | messageid: <1349993241.92.0.602035338823.issue16201@psf.upfronthosting.co.za> |
2012-10-11 22:07:21 | santoso.wijaya | link | issue16201 messages |
2012-10-11 22:07:21 | santoso.wijaya | create | |
|