summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/test_abc.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-06-28 04:57:24 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-06-28 04:57:24 (GMT)
commit0cf9e6a6214d4418286a30e305fefad644b29c52 (patch)
tree9d07df67286fe14593baeae5ce2d0f1bd3b555db /Lib/importlib/test/test_abc.py
parent9396483ba40888b735b3d00dc5f1d1379f939914 (diff)
downloadcpython-0cf9e6a6214d4418286a30e305fefad644b29c52.zip
cpython-0cf9e6a6214d4418286a30e305fefad644b29c52.tar.gz
cpython-0cf9e6a6214d4418286a30e305fefad644b29c52.tar.bz2
Move importlib.abc.SourceLoader to _bootstrap.
Required updating code relying on other modules to switch to _bootstrap's unique module requirements. This led to the realization that get_code was being too liberal in its exception catching when calling set_data by blindly grabbing IOError. Shifted the responsibility of safely ignoring writes to a read-only path to set_data. Importlib is still not relying on SourceLoader yet; requires creating a SourcelessLoader and updating the source finder.
Diffstat (limited to 'Lib/importlib/test/test_abc.py')
0 files changed, 0 insertions, 0 deletions