very rare python expression
Edward A. Falk
falk at green.rahul.net
Tue Aug 12 20:20:59 CEST 2008
In article <7xtzdqobsy.fsf at ruckus.brouhaha.com>,
Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote:
>"ðÏ" <littlesweetmelon at gmail.com> 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 despams.r.us.com
More information about the Python-list