aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/freeze_importlib.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-15 17:56:09 -0400
committerBrett Cannon <brett@python.org>2012-04-15 17:56:09 -0400
commit8a1d04c64372d4706572671a21ff9d3e4a6374ca (patch)
treedb9e9c2ade3bdf16d917f61a76a2e27ee524af05 /Python/freeze_importlib.py
parent7ceedb8c1ec96f3aa1db9e7d2aed89c70481caad (diff)
downloadcpython-8a1d04c64372d4706572671a21ff9d3e4a6374ca.tar.gz
cpython-8a1d04c64372d4706572671a21ff9d3e4a6374ca.zip
Issue #13959: Simplify imp.reload() by relying on a module's
__loader__. Since import now sets __loader__ on all modules it creates and imp.reload() already relied on the attribute for modules that import didn't create, the only potential compatibility issue is if people were deleting the attribute on modules and expecting imp.reload() to continue to work.
Diffstat (limited to 'Python/freeze_importlib.py')
0 files changed, 0 insertions, 0 deletions