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 georg.brandl
Recipients Damjan.Košir, georg.brandl
Date 2012-03-10.18:11:06
SpamBayes Score 0.00497115
Marked as misclassified No
Message-id <>
Chaining comparison operators inserts implicit "and" conditions:

  a OP b OP c OP d

is equivalent to

  (a OP b) and (b OP c) and (c OP d)

This is most useful with ==, <, <= and so forth, but "in" and "is" also count as comparison ops and have the same precedence.
Date User Action Args
2012-03-10 18:11:07georg.brandlsetrecipients: + georg.brandl, Damjan.Košir
2012-03-10 18:11:07georg.brandlsetmessageid: <>
2012-03-10 18:11:06georg.brandllinkissue14247 messages
2012-03-10 18:11:06georg.brandlcreate