[issue12428] functools test coverage
Brian Thorne
report at bugs.python.org
Tue Jul 24 08:00:26 CEST 2012
Brian Thorne <hardbyte at gmail.com> added the comment:
Thanks Antoine, the __class__ attribute wasn't useful, I've removed that. Overriding the __setattr__ and __delattr__ gives consistent behaviour with the both versions - allowing the unittest reuse. Also I've changed thread back to _thread.
Isn't more compatibility between the Python and C implementations desired? Is it an aim to document more of the functionality? An earlier version of this patch had a closure implementation of partial; I'm happy to revert to that if simplicity is preferred to compatibility?
Should the caching decorators be tested from multiple threads?
----------
Added file: http://bugs.python.org/file26495/issue12428.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12428>
_______________________________________
More information about the Python-bugs-list
mailing list