Index: cepa-1.8.4/stem/control.py =================================================================== --- cepa-1.8.4.orig/stem/control.py +++ cepa-1.8.4/stem/control.py @@ -474,7 +474,7 @@ def with_default(yields = False): def decorator(func): def get_default(func, args, kwargs): - arg_names = inspect.getargspec(func).args[1:] # drop 'self' + arg_names = inspect.getfullargspec(func).args[1:] # drop 'self' default_position = arg_names.index('default') if 'default' in arg_names else None if default_position is not None and default_position < len(args): Index: cepa-1.8.4/stem/util/conf.py =================================================================== --- cepa-1.8.4.orig/stem/util/conf.py +++ cepa-1.8.4/stem/util/conf.py @@ -285,7 +285,7 @@ def uses_settings(handle, path, lazy_loa config.load(path) config._settings_loaded = True - if 'config' in inspect.getargspec(func).args: + if 'config' in inspect.getfullargspec(func).args: return func(*args, config = config, **kwargs) else: return func(*args, **kwargs)