Author Jonathan.Livni
Recipients Jonathan.Livni, georg.brandl
Date 2011-02-16.08:51:55
SpamBayes Score 9.84046e-07
Marked as misclassified No
Message-id <>
Another note - the original problematic code looks like this:

def non_decreasing(L):
    return all(x<=y for x, y in zip(L, L[1:]))

Changing it to:

def non_decreasing(L):
    def f(L):
        return [x<=y for x, y in zip(L, L[1:])]
    return all(f(L))    

also worked around the bug
Date User Action Args
2011-02-16 08:52:08Jonathan.Livnisetrecipients: + Jonathan.Livni, georg.brandl
2011-02-16 08:52:08Jonathan.Livnisetmessageid: <>
2011-02-16 08:51:55Jonathan.Livnilinkissue11221 messages
2011-02-16 08:51:55Jonathan.Livnicreate