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 serhiy.storchaka
Recipients doerwalter, serhiy.storchaka
Date 2014-02-05.13:09:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The ReadTest.test_readline test in Lib/test/ has two loops on "\n \r\n \r \u2028".split(). But as far as "\n \r\n \r \u2028".split() is empty list (because newline characters are whitespace characters), the bodies of these loops are never executed.

After fixing this bug, a number of other tests were exposed. I tried to fix them. The purpose of these tests is not entirely clear, so I'm not sure that it is properly grasped the idea of the author.

Test was added in issue1076985 and modified in issue1175396.
Date User Action Args
2014-02-05 13:09:34serhiy.storchakasetrecipients: + serhiy.storchaka, doerwalter
2014-02-05 13:09:34serhiy.storchakasetmessageid: <>
2014-02-05 13:09:34serhiy.storchakalinkissue20520 messages
2014-02-05 13:09:34serhiy.storchakacreate