﻿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
21790	Don't `except AssertionError` in auth.get_user	Aleksey Kladov	Tim Graham	"In django.contrib.auth.get_user
(https://github.com/django/django/blob/master/django/contrib/auth/__init__.py#L151) AssetionError is excepted which causes different behaviour with and without `-O` interpreter flag.

More previsely, incorrect `backend_path` in session will cause `ImproperlyConfigured` exception to be raised with `-O` flag, while without the flag the `AnonymousUser` will be returned."	Bug	closed	contrib.auth	dev	Normal	fixed			Accepted	1	0	0	0	0	0
