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 martin.panter, pitrou, r.david.murray, serhiy.storchaka, twouters
Date 2015-09-22.17:21:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442942481.35.0.192137309053.issue25209@psf.upfronthosting.co.za>
In-reply-to
Content
Good catch Martin. Indeed, "pass", "break" and "continue" don't need a space, and "True", "False" and "None" need a space only in rare cases like "None in collection". Some keywords ("else", "finally", "try") need a colon. But while "return" and "lambda" not always need a space, I think that needing a space is more common case, and in any case the redundant space doesn't make a harm.

Here is revised patch that doesn't add a space in some cases and instead adds a colon in some cases.
History
Date User Action Args
2015-09-22 17:21:21serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, pitrou, r.david.murray, martin.panter
2015-09-22 17:21:21serhiy.storchakasetmessageid: <1442942481.35.0.192137309053.issue25209@psf.upfronthosting.co.za>
2015-09-22 17:21:21serhiy.storchakalinkissue25209 messages
2015-09-22 17:21:21serhiy.storchakacreate