On Wednesday, 11 December 2013 21:11:00 UTC+1, Travis Scrimshaw wrote:
>
> I'm starting to think that we need is a better system for the global
> options. I'm thinking what we could do is change thing around a bit by
> having GlobalOptions inherit from UniqueRepresentation with a __classcall__
Hey Andrew,
> As GlobalOptions are not pickeable I agree that this error probably occurs
> because of PartitionOptions being passed as an argument to the
> IntegerListsLex class. Unfortunately, I think that this is the real
> problem: global options for one class are not intended to be passed
On Saturday, 7 December 2013 05:57:36 UTC+1, Travis Scrimshaw wrote:
>
> Hey everyone,
>The following gives a PicklingError:
>
> sage: P = Partitions(5, max_length=4)
> sage: loads(dumps(P))
>
Hi Travis,
As you say, the error occurs in pickling so it actually happens in the
dumps(P) call.