On Feb 11, 2009, at 3:38 AM, Wichert Akkerman wrote:

> Previously Philip Jenvey wrote:
>> I just applied a fix that now correctly handles eleith's issue with
>> duplicate query params, and always includes the function name
>> regardless of the key type specified.
>
> I think you also need to add the class name if you get a bound  
> function:
> you may very well have the same function name in multiple classes in
> the same source file.

The class's name and module name are used for the cache's namespace,  
which'll prevent clashes. For normal functions just the function's  
module name is used for the namespace. Looking at this again maybe the  
class name should be in the key instead of the namespace, but that's  
not a big deal.

By the time you read this an rc5 will likely be out with all these  
fixes.

--
Philip Jenvey

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to