On Tue, Jul 1, 2008 at 11:37 AM, Roger Demetrescu
<[EMAIL PROTECTED]> wrote:
>
> On Tue, Jul 1, 2008 at 06:03, Florent Aide <[EMAIL PROTECTED]> wrote:
[...]
>> Please note this branch (1.0) is not compatible with the latest
>> TurboJson because of some PeakRules intricacies that make our tests
>> fails for the paginate code. It may work but we cannot offer any
>> guarantee yet. This has been reflected by "caping" the TJ version
>> number in our setup.py file.
>
> Just giving more details here:
>
> PeakRules don't play well with functions decorated with the [] sintax, like:
>
> [jsonify.when('isinstance(obj, SomeClass)')]
> def somefunction(obje):
> ...
>
> In 1.1 branch, where python 2.3 support is been dropped, the normal sintaxe
> play well with Peakrules:
>
>
> @jsonify.when('isinstance(obj, SomeClass)')
> def somefunction(obje):
> ...
>
And thanks for Roger who helped me save some of my hair while working
on this release :)
Florent.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---