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
Note: This issue has been automatically migrated from Bitbucket
Created by @neithere on 2013-01-14 05:54:56+00:00, last updated: 2013-01-14 06:57:17+00:00
The text was updated successfully, but these errors were encountered:
The old version of @wrap_errors() expects *args. It is impossible to add an optional named argument as a function with signature wrap_errors(processor=None, *errors), called as wrap_errors(KeyError), would be interpreted as wrap_errors(processor=KeyError). This is way it is now required that the first argument is an optional list.
A hack is added to maintain backward compatibility until Argh 1.0.
Argh 1.0 should be released without the hack, i.e. all code written in the old style — @wrap_errors(ExceptionClass) — will break.
A DeprecationWarning should be emitted. Release notes should contain migration guidelines.
Note: This comment has been automatically migrated from Bitbucket
Created by @neithere on 2013-01-14 06:12:22+00:00
Use cases:
Example code:
Note: This issue has been automatically migrated from Bitbucket
Created by @neithere on 2013-01-14 05:54:56+00:00, last updated: 2013-01-14 06:57:17+00:00
The text was updated successfully, but these errors were encountered: