﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35893	Using list comprehension (instead of a generator) to any/all where the items are side-effect free is a performance error	john-parton	john-parton	"When passing a generator to `any()` or `all()`, Python can perform short-circuit evaluation to avoid needless computation.

Directly passing a list using list-comprehension is generally not recommended, unless the list-comprehension has a side-effect (for example calling a method that sets attributes on an object)

There's at least one place in the code-base where it's safe to replace list comprehension with a generator and get the short-circuit optimization for ""free."""	Cleanup/optimization	closed	contrib.admin	dev	Normal	duplicate			Unreviewed	1	0	0	0	1	0
