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 tim.peters
Recipients
Date 2001-03-11.04:58:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=31435

Agree with Fred here:  not a bug.  The grammar does not 
allow for spaces after the backslash, and not only does 
Python rely on that, but also all the regexp-based parsers 
in assorted tools (from the Emacs python-mode thru IDLE).

The good news is that many tens of thousands of users have 
learned to live with this without any complaint <wink>.

Note that IDLE automatically strips trailing spaces when 
you hit ENTER; many other good programmer's editors do 
too.  The script Tools/Scripts/reindent.py will strip 
trailing spaces in "batch mode" for you.  Note also that 
backslash continuation is *unusual* in Python source code 
(just look at the megabytes of .py files that come with the 
distribution).
History
Date User Action Args
2007-08-23 13:53:30adminlinkissue407626 messages
2007-08-23 13:53:30admincreate