Ühel kenal päeval, N, 2010-02-25 kell 07:46, kirjutas Aaron S. Meurer: > Does anyone know if fixing these things would be possible? I am not to > familiar with decorators. > > Two aspects of decorated functions annoy me. First off, the function > name is changed to the name of the decorated function. The result is > that tests that have @XFAIL show up as func_wrapper in bin/test -v. > For example: >
Nice catch, Please check out functools.update_wrapper(...) and functools.wraps(...) http://docs.python.org/library/functools.html -- Priit Laes -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sy...@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.