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 serhiy.storchaka, terry.reedy
Date 2020-07-23.06:00:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595484015.89.0.143089901339.issue41373@roundup.psfhosted.org>
In-reply-to
Content
I missed that the file's attribute newlines can be None if no line separators were read. It can also be a tuple if mixed newlines are used. I think that eol_convention should be set to the default value os.linesep in these cases.

I am currently not able to test this since IDLE does not work on my computer after upgrading to Ubuntu 20.04.
History
Date User Action Args
2020-07-23 06:00:15serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy
2020-07-23 06:00:15serhiy.storchakasetmessageid: <1595484015.89.0.143089901339.issue41373@roundup.psfhosted.org>
2020-07-23 06:00:15serhiy.storchakalinkissue41373 messages
2020-07-23 06:00:15serhiy.storchakacreate