diff options
author | Brett Cannon <brett@python.org> | 2012-04-15 21:56:09 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-15 21:56:09 (GMT) |
commit | 8a1d04c64372d4706572671a21ff9d3e4a6374ca (patch) | |
tree | db9e9c2ade3bdf16d917f61a76a2e27ee524af05 /Lib/test/test_descr.py | |
parent | 7ceedb8c1ec96f3aa1db9e7d2aed89c70481caad (diff) | |
download | cpython-8a1d04c64372d4706572671a21ff9d3e4a6374ca.zip cpython-8a1d04c64372d4706572671a21ff9d3e4a6374ca.tar.gz cpython-8a1d04c64372d4706572671a21ff9d3e4a6374ca.tar.bz2 |
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 'Lib/test/test_descr.py')
0 files changed, 0 insertions, 0 deletions