[issue29141] error in 2to3

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker ___

[issue29141] error in 2to3

2017-01-03 Thread Brett Cannon
Brett Cannon added the comment: To help you work around this you can simplify your original code such that you don't trigger the issue: dict((key, val) for key, val in docs_uploaded_at.iteritems() if len(val) == 3) and [x for x in registered if x.phone not in with_transaction_mobile] ---

[issue29141] error in 2to3

2017-01-03 Thread Sandeep Srinivasa
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