very rare python expression

Edward A. Falk falk at
Tue Aug 12 20:20:59 CEST 2008

In article <7xtzdqobsy.fsf at>,
Paul Rubin  <> wrote:
>"ðÏ" <littlesweetmelon at> writes:
>> I saw a strange python code in pygame project. What does "while
>> not(x&528or x in l):" mean? Below code works in python2.5, so "x&528"
>> is not HTML strings.
>It parses as "x & 528 or x in l".  Looks like it came from
>and is an attempt to squash the program to as few bytes as possible.

Sheesh.  The 80's called; they want their floppy drives back.

Even with the whitespace restored, it's awful style.

	-Ed Falk, falk at

More information about the Python-list mailing list