Cannot invalidate without calling the method first at least once

Issue #10 new
Amichai Schreiber
created an issue

The 'invalidate' method first checks for wrapper._full_name, and exits if it doesn't exist. However it could be that the value is cached, from a different process (maybe a previous process, or maybe concurrent).

This can be avoided if 'wrapper' refuses to return cached values when it sets _full_name, in the first call. (Which means that cache will not be reused between processes, for the first time for each method).

Comments (0)

  1. Log in to comment