Can I search a list for a range of values?

Chris Angelico rosuav at gmail.com
Fri Oct 14 19:47:12 EDT 2011


On Sat, Oct 15, 2011 at 9:58 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> At least in Python, there is no way that "and" could be a bitwise and
> either, since it cannot be overloaded.

Like I said, cross-language safety-net. Sure it's not an issue here,
but when I write code in multiple languages, it's less embarrassing to
use an odd construct like that than to post code that outright doesn't
work. :)

ChrisA



More information about the Python-list mailing list