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 Oren Milman
Recipients Oren Milman, brett.cannon, eric.snow, ncoghlan, serhiy.storchaka
Date 2017-09-28.16:19:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506615575.7.0.466225441844.issue31285@psf.upfronthosting.co.za>
In-reply-to
Content
In 2.7, PyUnicode_Splitlines() first does:
string = PyUnicode_FromObject(string);

So i thought that PyUnicode_Splitlines() would be fine with receiving a string.

But now i realize that even in case i was right there, PyUnicode_Splitlines()
returns a unicode, and not a string, so there should be problems later.
I wonder how the tests still passed..
History
Date User Action Args
2017-09-28 16:19:35Oren Milmansetrecipients: + Oren Milman, brett.cannon, ncoghlan, eric.snow, serhiy.storchaka
2017-09-28 16:19:35Oren Milmansetmessageid: <1506615575.7.0.466225441844.issue31285@psf.upfronthosting.co.za>
2017-09-28 16:19:35Oren Milmanlinkissue31285 messages
2017-09-28 16:19:35Oren Milmancreate