On 2/8/14 1:29 PM, Ned Batchelder wrote:
On 2/8/14 1:06 PM, Eric Jacoboni wrote:
Hi,
Say i want create a class with a __slots__ tuple in order to prevent
creation of new attributes from outside the class.
Say i want to serialize instances of this class... With pickle, all is
ok : i can dump an
On 2/8/14 1:06 PM, Eric Jacoboni wrote:
Hi,
Say i want create a class with a __slots__ tuple in order to prevent
creation of new attributes from outside the class.
Say i want to serialize instances of this class... With pickle, all is
ok : i can dump an object to a file, then reload it.
With P
Hi,
Say i want create a class with a __slots__ tuple in order to prevent
creation of new attributes from outside the class.
Say i want to serialize instances of this class... With pickle, all is
ok : i can dump an object to a file, then reload it.
With PyYAML, i can dump an object to a file, but