﻿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
37126	Make Task and TaskResult comparable	Johannes Maron		"[https://forum.djangoproject.com/t/tasks-framework-versatility-performance/45035/4 Jake and I have been discussing changes to the Task framework for 6.2 with a focus on performance and versatility.]

Python's [https://docs.python.org/3/library/queue.html#queue.PriorityQueue queue.PriorityQueue] implementation requires objects to be comparable.

Since the base implementation of a `Task` implements a priority, it only makes sense to provide basic comparability based on the priority and date.

Dataclasses have a neat `order=True` attribute to make this stupidly simple.
"	New feature	new	Tasks	dev	Normal			Johannes Maron	Unreviewed	0	0	0	0	1	0
