Message149645
| Author |
terry.reedy |
| Recipients |
eric.smith, ncoghlan, terry.reedy |
| Date |
2011年12月16日.23:47:31 |
| SpamBayes Score |
0.039909 |
| Marked as misclassified |
No |
| Message-id |
<1324079252.11.0.43136263125.issue13579@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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'. |
|
History
|
|---|
| 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 |
|