summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-25 16:36:33 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-25 16:36:33 (GMT)
commitba8cf108735714d77430ff051cc2e414a2d82183 (patch)
tree0e78cd411a292baf83a3f7fce044c79045744fc7 /Mac
parent32830149d8873234eaf1949ef840c3a07ecf5b64 (diff)
downloadcpython-ba8cf108735714d77430ff051cc2e414a2d82183.zip
cpython-ba8cf108735714d77430ff051cc2e414a2d82183.tar.gz
cpython-ba8cf108735714d77430ff051cc2e414a2d82183.tar.bz2
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 'Mac')
0 files changed, 0 insertions, 0 deletions