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 mark.dickinson
Recipients barry, christian.heimes, gvanrossum, mark.dickinson, mikecurtis, rhettinger
Date 2008-11-11.12:21:42
SpamBayes Score 5.3769203e-05
Marked as misclassified No
Message-id <1226406103.03.0.292635970874.issue4296@psf.upfronthosting.co.za>
In-reply-to
Content
[Raymond]
> assuming basic invariants.  In 2.6, all of the following are always
> true:
>
>   assert a in [a]
>   assert a in (a,)
>   assert a in set([a])
>   assert [a].count(a) == 1

And these are all still true in 3.0 as well, aren't they?

In any case, you've convinced me.  I withdraw my comment
about the Python 3.0 behaviour being the right one.
History
Date User Action Args
2008-11-11 12:21:43mark.dickinsonsetrecipients: + mark.dickinson, gvanrossum, barry, rhettinger, christian.heimes, mikecurtis
2008-11-11 12:21:43mark.dickinsonsetmessageid: <1226406103.03.0.292635970874.issue4296@psf.upfronthosting.co.za>
2008-11-11 12:21:42mark.dickinsonlinkissue4296 messages
2008-11-11 12:21:42mark.dickinsoncreate