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 senji
Recipients senji, steven.daprano
Date 2020-01-22.13:28:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579699714.16.0.646290491826.issue39418@roundup.psfhosted.org>
In-reply-to
Content
https://bugs.python.org/issue25433 has a summary of the issue about what actually constitutes whitespace from the perspective of improving the documentation. In terms of what strip does it turns out that string.whitespace is a red herring.

A list of whitespace characters _could_ be produced at runtime using str.isspace() but that would require iterating over the entire space of characters; which is likely to be slow as well as poor style.
History
Date User Action Args
2020-01-22 13:28:34senjisetrecipients: + senji, steven.daprano
2020-01-22 13:28:34senjisetmessageid: <1579699714.16.0.646290491826.issue39418@roundup.psfhosted.org>
2020-01-22 13:28:34senjilinkissue39418 messages
2020-01-22 13:28:34senjicreate