>
>
>>
>> Jonathan LaCour wrote:
>>
>>> Since I'm the squeaky wheel, I'll give this a shot today.  I'll
>>> let you know how it goes :)
>>
>> Well, I tried, and failed :)
>>
>> Looks like there is a bug somewhere in prioritized_methods. When
>> I replace the peak.rules `when` with the `prioritized_when`, all
>> sorts of things go boom. Specifically, all of the default rules in
>> TurboJSON raise exceptions about not being able to find imported
>> modules.
>
>> I can get a little further by replacing the `isinstance` checks with
>> concrete type checking, but anything that passes a string-based rule
>> that depends on something in the local namespace (imported modules
>> like `datetime`, or helper functions like `is_saobject`), things
>> blow up...
>>
>> Any ideas, Alberto?
>
> I think I've fixed this in a recent commit, update:
>
> easy_install -U prioritized_methods==dev

I've just created a turbojson branch and integrated prioritized_methods.
with the pm's dev version all TJ tests pass untouched and a new one I've
added passes too.

http://svn.turbogears.org/projects/TurboJson/branches/prioritized/

If this works for you I'll release a fixed prioritized_methods to pypi and
if no one objects I'll merge this TJ branch with the trunk too.

Alberto


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to