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 ggenellina
Recipients georg.brandl, ggenellina
Date 2009-02-19.03:50:16
SpamBayes Score 1.0351263e-06
Marked as misclassified No
Message-id <1235015468.16.0.2806325305.issue5310@psf.upfronthosting.co.za>
In-reply-to
Content
The operator precedence table is wrong.
<http://docs.python.org/reference/
expressions.html#summary>
shows "in"/"not in" having less priority than 
comparisons like "==", but that's not true:

py> 2 in (1,2) == True
False

The .rst file is wrong, as well as all the 
generated .html files since version 2.1 at least.
But the original Latex source lists them in the 
same group.

Looks like the latex->html and latex->rst tools 
both had the same problem with this kind of 
table construct.

The attached patch is based on the ref5.tex file 
included in Python 2.5
History
Date User Action Args
2009-02-19 03:51:08ggenellinasetrecipients: + ggenellina, georg.brandl
2009-02-19 03:51:08ggenellinasetmessageid: <1235015468.16.0.2806325305.issue5310@psf.upfronthosting.co.za>
2009-02-19 03:50:17ggenellinalinkissue5310 messages
2009-02-19 03:50:16ggenellinacreate