[issue12428] functools test coverage

Antoine Pitrou report at bugs.python.org
Tue Jul 24 19:33:29 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

Le mardi 24 juillet 2012 à 06:00 +0000, Brian Thorne a écrit :
> Isn't more compatibility between the Python and C implementations
> desired?

IMHO, not when compatibility regards obscure details such as whether
setting an attribute is allowed or not. I don't know why this was
codified in the unit tests in the first place, perhaps Nick can shed
some light.

> Should the caching decorators be tested from multiple threads?

Why not, if there's an easy way to do so.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12428>
_______________________________________


More information about the Python-bugs-list mailing list