Message318629
Good point Ammar.
Seems there is also a missing corner case in the definition of a physical line:
https://docs.python.org/3.8/reference/lexical_analysis.html#physical-lines
"""
A physical line is a sequence of characters terminated by an end-of-line sequence. In source files, any of the standard platform line termination sequences can be used - the Unix form using ASCII LF (linefeed), the Windows form using the ASCII sequence CR LF (return followed by linefeed), or the old Macintosh form using the ASCII CR (return) character. All of these forms can be used equally, regardless of platform.
"""
It misses a case when a physical line is terminated by the end of file. |
|
Date |
User |
Action |
Args |
2018-06-04 04:55:42 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, docs@python, ammar2, Isaac Elliott |
2018-06-04 04:55:42 | serhiy.storchaka | set | messageid: <1528088142.11.0.592728768989.issue33766@psf.upfronthosting.co.za> |
2018-06-04 04:55:42 | serhiy.storchaka | link | issue33766 messages |
2018-06-04 04:55:41 | serhiy.storchaka | create | |
|