summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-25 17:36:33 +0100
committerVictor Stinner <victor.stinner@gmail.com>2016-03-25 17:36:33 +0100
commitba8cf108735714d77430ff051cc2e414a2d82183 (patch)
tree0e78cd411a292baf83a3f7fce044c79045744fc7 /Python/errors.c
parent32830149d8873234eaf1949ef840c3a07ecf5b64 (diff)
downloadcpython-git-ba8cf108735714d77430ff051cc2e414a2d82183.tar.gz
Rework libregrtest.save_env
* Replace get/restore methods with a Resource class and Resource subclasses * Create ModuleAttr, ModuleAttrList and ModuleAttrDict helper classes * Use __subclasses__() to get resource classes instead of using an hardcoded list (2 shutil resources were missinged in the list!) * Don't define MultiprocessingProcessDangling resource if the multiprocessing module is missing * Nicer diff for dictionaries. Useful for the big os.environ dict * Reorder code to group resources
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions