Message3816
Trailing white space after a line continue character
(\) causes an "invalid token" error when parsing.
The trailing white space can be either tabs or spaces.
Tested against Python 2.0 and 2.1b1; error occurs in
both.
Request resolution: parser should ignore trailing white
space after line continue character
Sample code:
# ok -no trailing white space past line continue char
print 'case 1a' + \
'case 1b'
# invalid token error - one space after line continue
char
print 'case 2a' + \
'case 2b'
# invalid token error - one tab after line continue
char
print 'case 3a' + \
'case 3b'
|
|
Date |
User |
Action |
Args |
2007-08-23 13:53:30 | admin | link | issue407626 messages |
2007-08-23 13:53:30 | admin | create | |
|