Merge: serialization: serialize the Error class and avoid abstract classes with...
authorJean Privat <jean@pryen.org>
Mon, 9 Nov 2015 15:39:16 +0000 (10:39 -0500)
committerJean Privat <jean@pryen.org>
Mon, 9 Nov 2015 15:39:16 +0000 (10:39 -0500)
commit46a54a99fcde1527de897b897d0273892cd189b8
tree9865ef9a8e0a6051d93fe2c4cd3077211194754d
parentea741018abbec0125e641e26433cce8fb3fcbbd9
parent75276655d28155fd2e87ae2dcd93d44fe7689c4e
Merge: serialization: serialize the Error class and avoid  abstract classes with factories

This PR implements the serialization of the `Error` class manually, it is declared in `core` above the `serialization` module.

Also updates `nitserial` so that it does not attempt to instantiate abstract classes with factories.

@privat I have doubts about the use of `is_abstract` and `is_class`, is it appropriate?

Pull-Request: #1821
Reviewed-by: Jean Privat <jean@pryen.org>