[Python-modules-team] Bug#850288: python-scipy: bug in scipy._lib._threadsafety.py, decorator function name wrong
    Drew Parsons 
    dparsons at debian.org
       
    Fri Mar  8 06:01:48 GMT 2019
    
    
  
Package: python-scipy
Followup-For: Bug #850288
As far as I can read the code, it is correct to use decorate on a
function rather than decorator. The source says it is obsolete
behaviour to use decorator() with a function.
Can you explain why you think it needs to be done?
Note you've given the arguments in the reverse order. The signature for
decorator is decorator(caller, _func=None), not decorator(func, caller).
Drew
    
    
More information about the Python-modules-team
mailing list