You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Option instance reuse with custom cls impossible #926
This will (click 6.7, and latest master when this issue was created) cause the cls parameter to be popped from **attrs – which is shared between all calls of the inner decorator, because of the closure – in the first call, leading to a broken option in the second call.
Of course, it's possible to work around this by instead defining a function that returns the option, but it would be nice to just fix the decorators by copying attrs before popping cls.
Activity
ulope commentedon Apr 19, 2018
Indeed, this is very surprising.
Merge pull request #994 from dsully/issue-926
fdavis commentedon May 17, 2018
Resolved by #994 please reopen if you still experience this issue in master
Merge #1576
Merge #37
Update click to 7.0 (#97)