﻿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
19642	django.utils.functional.lazy issues	Alexey Boriskin	Aymeric Augustin	"I've found some issues meditating on the `lazy()` function. I'm reporting them as one ticket; please tell if I should rather create one per issue.

* promise, returned by `lazy()`, has no attributes of original class: `lazy()` thinks only about methods
* promise, returned by `lazy()`, has weird behaviour if resultclass has `__mod__` method – it overrides it completely
* methods of promise, returned by `lazy()`, lack the `__doc__` attribute – docstring is lost
* if resultclass explicitly define itself as a not hashable with `__hash__ = None`, promises of that class may still be hashable.

Following diff, when applied, adds four failing tests illustrating that issues: https://gist.github.com/4582334"	Bug	closed	Core (Other)	dev	Normal	wontfix	lazy, functional		Unreviewed	0	0	0	0	0	0
