summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-08-28 16:31:16 +0200
committerGitHub <noreply@github.com>2021-08-28 07:31:16 -0700
commit40788cf49adf93c2598a4d09a3c4319c75c6f883 (patch)
treed0b71d0bc3115662f1092eb693ebb1039c31b9e4 /var
parent025dbb216276d36c591358c0d54f69926fb1b799 (diff)
downloadspack-40788cf49adf93c2598a4d09a3c4319c75c6f883.tar.gz
spack-40788cf49adf93c2598a4d09a3c4319c75c6f883.tar.bz2
spack-40788cf49adf93c2598a4d09a3c4319c75c6f883.tar.xz
spack-40788cf49adf93c2598a4d09a3c4319c75c6f883.zip
Add a __reduce__ method to Spec (#25658)
* Add a __reduce__ method to Spec fixes #23892 The recursion limit seems to be due to the default way in which a Spec is serialized, following all the attributes. It's still not clear to me why this is related to being in an environment, but in any case we already have methods to serialize Specs to disk in JSON and YAML format. Here we use them to pickle a Spec instance too. * Downgrade to build-hash Hopefully nothing will change the package in between serializing the spec and sending it to the child process. * Add support for Python 2
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions