I would suggest not defining mutable default arguments. See: http://stackoverflow.com/questions/1132941/least-astonishment-in-python-the-mutable-default-argument

I know you're not changing shared_sites within the decorator, but this might lead to subtle bugs in the future and it's usually considered a bad practice.