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 paul.j3
Recipients paul.j3, rgov, rhettinger
Date 2019-09-18.16:58:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568825923.62.0.11712666576.issue38217@roundup.psfhosted.org>
In-reply-to
Content
Which is more valuable to you, the string conversion, or the checking?

What's wrong with doing the 'type check' in post parsing code?  (MarSoft's answer in the SO link).

To make a better case for this, I'd suggest writing your own fix.  It doesn't need to be a polished push, but enough code to show that the change is relatively simple (preferably occurring in only one or two functions).
History
Date User Action Args
2019-09-18 16:58:43paul.j3setrecipients: + paul.j3, rhettinger, rgov
2019-09-18 16:58:43paul.j3setmessageid: <1568825923.62.0.11712666576.issue38217@roundup.psfhosted.org>
2019-09-18 16:58:43paul.j3linkissue38217 messages
2019-09-18 16:58:43paul.j3create