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 vstinner
Recipients benjamin.peterson, ezio.melotti, gdementen, serhiy.storchaka, vstinner
Date 2013-03-28.00:45:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364431543.29.0.431596566047.issue17559@psf.upfronthosting.co.za>
In-reply-to
Content
If you would like to improve Python, you have to focus on the development version which is Python 3.4. In this version, the code is different:

    if (length == 1)
        return PyBool_FromLong(
            Py_UNICODE_ISSPACE(PyUnicode_READ(kind, data, 0)));

I'm not sure that having a special case for string of 1 character provide any speed up...
History
Date User Action Args
2013-03-28 00:45:43vstinnersetrecipients: + vstinner, benjamin.peterson, ezio.melotti, gdementen, serhiy.storchaka
2013-03-28 00:45:43vstinnersetmessageid: <1364431543.29.0.431596566047.issue17559@psf.upfronthosting.co.za>
2013-03-28 00:45:43vstinnerlinkissue17559 messages
2013-03-28 00:45:43vstinnercreate