Message374121
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. |
|
Date |
User |
Action |
Args |
2020-07-23 06:00:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy |
2020-07-23 06:00:15 | serhiy.storchaka | set | messageid: <1595484015.89.0.143089901339.issue41373@roundup.psfhosted.org> |
2020-07-23 06:00:15 | serhiy.storchaka | link | issue41373 messages |
2020-07-23 06:00:15 | serhiy.storchaka | create | |
|