Brian Thorne <hardb...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue12428> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com