﻿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
23664	bool evaluation on an OrderedSet gives different results in Py2 and Py3	Thomas Chaumeny	nobody	"`bool(OrderedSet())` evaluates to `False` in Python 2, `True` in Python 3 because `__bool__` is not defined (but `__nonzero__` is).

I searched the codebase for similar cases and found that it was the same with `QuerySet`, though this does not have consequences as `QuerySet.__len__` is defined and `bool` will use that in Py3.

The PR addresses both classes for consistency."	Bug	closed	Utilities	dev	Normal	fixed	Python3, OrderedSet		Ready for checkin	1	0	0	0	0	0
