[Python-checkins] r70945 - in python/branches/py3k: Grammar/Grammar Include/code.h Include/compile.h Include/parsetok.h Include/pythonrun.h Lib/__future__.py Lib/test/test_flufl.py Parser/parser.c Parser/parsetok.c Parser/tokenizer.c Python/futur

Brett Cannon brett at python.org
Wed Apr 1 17:15:54 CEST 2009


On Wed, Apr 1, 2009 at 01:55, Eric Smith <eric at trueblade.com> wrote:

> brett.cannon wrote:
>
>> -comp_op: '<'|'>'|'=='|'>='|'<='|'!='|'in'|'not' 'in'|'is'|'is' 'not'
>> +comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not'
>>
>
> The PEP says that '<>' is the one true spelling, yet this leaves in '!='.
>

The __future__ statement takes care of enforcing only one of the operators.


>
> I realize we want to have a transition period where both are accepted. I'll
> get busy on switching the standard library over so we can keep the
> transition period to an ample 12 hour duration.


Well, the __future__ statement is permanent, so don't go too nuts. =)

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-checkins/attachments/20090401/f56fce93/attachment.htm>


More information about the Python-checkins mailing list