﻿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
31561	QuerySet could be a collections.abc.Set.	Alexandre Poitevin	nobody	"I don’t know if it’s intended, but `QuerySet` doesn’t inherit from `collections.abc.Set` although it implements its full API.
The only missing methods is `__contains__` but the `in` is working anyway, fall-backing to the iteration protocol (through `__iter__`).

Pass it to the `Set.register` could also be considered.

I’m not sure if there is a clear win to this, or if it could include some non desired behaviors (like the possibility of unions with other `Set` types).

From a theoretical point of view it’s seems pretty logic – it’s called “Query**Set**” by the way! –, however since `practicality beats purity`…
"	Cleanup/optimization	closed	Database layer (models, ORM)	3.0	Normal	wontfix			Unreviewed	0	0	0	0	0	0
