New submission from Sandeep Srinivasa: docs_uploaded_at = dict(filter(lambda (x,y):True if len(y) == 3 else False,docs_uploaded_at.iteritems()))
produces docs_uploaded_at = dict([x_y for x_y in iter(docs_uploaded_at.items()) if True if len(x_y[1]) == 3 else False]) without_transaction_users = filter(lambda x:False if x.phone in with_transaction_mobile else True,registered) produces without_transaction_users = [x for x in registered if False if x.phone in with_transaction_mobile else True] ---------- components: 2to3 (2.x to 3.x conversion tool) messages: 284562 nosy: Sandeep Srinivasa priority: normal severity: normal status: open title: error in 2to3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29141> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com