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 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 <>
At line 237 of
    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
        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:32terry.reedysetrecipients: + terry.reedy, ncoghlan, eric.smith
2011-12-16 23:47:32terry.reedysetmessageid: <>
2011-12-16 23:47:31terry.reedylinkissue13579 messages
2011-12-16 23:47:31terry.reedycreate