Message149645
At line 237 of string.py:
def convert_field(self, value, conversion):
# do any conversion on the resulting object
if conversion == 'r':
return repr(value)
elif conversion == 's':
return str(value)
elif conversion is None:
return value
add
elif conversion == 'a':
return ascii(value)
The alternatives should be ordered by decreasing frequency. I suspect that should be None, 's', 'r', 'a'. |
|
Date |
User |
Action |
Args |
2011-12-16 23:47:32 | terry.reedy | set | recipients:
+ terry.reedy, ncoghlan, eric.smith |
2011-12-16 23:47:32 | terry.reedy | set | messageid: <1324079252.11.0.43136263125.issue13579@psf.upfronthosting.co.za> |
2011-12-16 23:47:31 | terry.reedy | link | issue13579 messages |
2011-12-16 23:47:31 | terry.reedy | create | |
|