On Wednesday, 1 August 2012 01:36:51 UTC+10, Niphlod wrote:
>
> uhm. try the trunk version remains a valid point.
> Anyway, are you aware that results are json encoded (so to read back them 
> into python dictionary you have to do simplejson.loads(results)) ?
>
 
Wasn't. Thanks.

And will try the trunk version in parallel to my almost-live app in coming 
days. 

 

>
>
> Il giorno martedì 31 luglio 2012 13:11:32 UTC+2, Tim Richardson ha scritto:
>>
>> My scheduled task returns a dictionary which is serialized and stored in 
>> the scheduler_run table in the result column.
>> The dictionary is actually a dictionary of dictionaries, only one level 
>> deep. I used eval to recover the original dict. 
>> Oddly True and False values are serialised as true and false (lowercase). 
>> They don't eval back since true and false are not defined. I've worked 
>> around this by assigning true = True, false = False and then doing eval. I 
>> don't know enough about Python to tell if this is my fault somehow. 
>
>

-- 



Reply via email to