B
Brian Blais
Hello,
I have a somewhat nested dict that I want to pickle, but it (sometimes) contains some
no-no's (specifically, in this case, functions). I know I can't pickle them, but I
would like to be able to pickle the rest of the dict. Is there a good way to be able
to walk through a dict, and take out all of the non-pickleable objects? I could
replace them with something else (a tag of some sort, for me to reconstruct things
later).
thanks,
Brian Blais
I have a somewhat nested dict that I want to pickle, but it (sometimes) contains some
no-no's (specifically, in this case, functions). I know I can't pickle them, but I
would like to be able to pickle the rest of the dict. Is there a good way to be able
to walk through a dict, and take out all of the non-pickleable objects? I could
replace them with something else (a tag of some sort, for me to reconstruct things
later).
thanks,
Brian Blais