1. 04 Mar, 2013 2 commits
    • Raymond Hettinger's avatar
      Fix other re-entrancy nits for the lru_cache. · f2c17a92
      Raymond Hettinger authored
      Keep references for oldkey and oldvalue so they can't
      trigger a __del__ method to reenter our thread.
      
      Move the cache[key]=link step to the end, after the link
      data is in a consistent state.
      
      Under exotic circumstances, the cache[key]=link step could
      trigger reentrancy (i.e. the key would have to have a hash
      exactly equal to that for another key in the cache and the
      key would need a __eq__ method that makes a reentrant call
      our cached function).
      f2c17a92
    • Raymond Hettinger's avatar
      Add test for RLock in the lru_cache(). · 03923426
      Raymond Hettinger authored
      03923426
  2. 03 Mar, 2013 3 commits
  3. 02 Mar, 2013 4 commits
  4. 01 Mar, 2013 8 commits
  5. 28 Feb, 2013 4 commits
  6. 27 Feb, 2013 6 commits
  7. 26 Feb, 2013 9 commits
  8. 25 Feb, 2013 4 commits