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 steven.daprano
Recipients benjamin.peterson, candide, serhiy.storchaka, steven.daprano
Date 2015-07-11.16:23:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20150711162303.GH27268@ando.pearwood.info>
In-reply-to <1436628233.38.0.197597566636.issue24612@psf.upfronthosting.co.za>
Content
On Sat, Jul 11, 2015 at 03:23:53PM +0000, candide wrote:
> 
> New submission from candide:
> 
> Expressions such as
> 
> a + not b
> a * not b
> + not b
> - not b
> 
> raise a SyntaxError, for instance :
> 
> 
> >>> 0 + not 0
>   File "<stdin>", line 1
>     0 + not 0
>           ^
> SyntaxError: invalid syntax

That has been invalid syntax since Python 1.5, if not older. I don't 
think that it needs to be changed.

[steve@ando ~]$ python1.5
Python 1.5.2 (#1, Aug 27 2012, 09:09:18)  [GCC 4.1.2 20080704 (Red Hat 
4.1.2-52)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> 0 + not 0
  File "<stdin>", line 1
    0 + not 0
          ^
SyntaxError: invalid syntax
History
Date User Action Args
2015-07-11 16:23:08steven.dapranosetrecipients: + steven.daprano, benjamin.peterson, serhiy.storchaka, candide
2015-07-11 16:23:08steven.dapranolinkissue24612 messages
2015-07-11 16:23:07steven.dapranocreate