summaryrefslogtreecommitdiff
path: root/Lib/idlelib/configdialog.py
diff options
context:
space:
mode:
authorDino Viehland <dinoviehland@gmail.com>2020-01-22 16:42:38 -0800
committerGitHub <noreply@github.com>2020-01-22 16:42:38 -0800
commit9b6fec46513006d7b06fcb645cca6e4f5bf7c7b8 (patch)
treed159d657c67c4f4ef7a961a5e73a119644de8d3e /Lib/idlelib/configdialog.py
parentd3ae95e1e945ed20297e1c38ba43a18b7a868ab6 (diff)
downloadcpython-git-9b6fec46513006d7b06fcb645cca6e4f5bf7c7b8.tar.gz
bpo-39336: Allow packages to not let their child modules be set on them (#18006)
* bpo-39336: Allow setattr to fail on modules which aren't assignable When attaching a child module to a package if the object in sys.modules raises an AttributeError (e.g. because it is immutable) it causes the whole import to fail. This now allows immutable packages to exist and an ImportWarning is reported and the AttributeError exception is ignored.
Diffstat (limited to 'Lib/idlelib/configdialog.py')
0 files changed, 0 insertions, 0 deletions