[python-committers] Deny nonbreaking spaces in the precommit script?
michael at voidspace.org.uk
Mon Nov 8 13:55:19 CET 2010
On 08/11/2010 12:53, Nick Coghlan wrote:
> Non-breaking spaces are legal in utf-8 encoded Python source files.
> While including them accidentally is less than ideal, it is perfectly
> valid to include them deliberately. Trying to design an automated
> check that can make a reasonable guess at intent is going to require
> far more effort than is needed.
Is it valid though? Standard library rules are ascii only (as referenced
by Guido in this thread). If you need the characters in a string literal
you must escape them.
READ CAREFULLY. By accepting and reading this email you agree,
on behalf of your employer, to release me from all obligations
and waivers arising from any and all NON-NEGOTIATED agreements,
licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap,
confidentiality, non-disclosure, non-compete and acceptable use
policies (”BOGUS AGREEMENTS”) that I have entered into with your
employer, its partners, licensors, agents and assigns, in
perpetuity, without prejudice to my ongoing rights and privileges.
You further represent that you have the authority to release me
from any BOGUS AGREEMENTS on behalf of your employer.
More information about the python-committers