Staging
v0.5.1
Revision 9b6fec46513006d7b06fcb645cca6e4f5bf7c7b8 authored by Dino Viehland on 23 January 2020, 00:42:38 UTC, committed by GitHub on 23 January 2020, 00:42:38 UTC
* 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.
1 parent d3ae95e
History
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 8.5 KB
README.rst -rw-r--r-- 4.6 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.7 KB
conf.py -rw-r--r-- 6.7 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 52.2 KB
license.rst -rw-r--r-- 45.2 KB
make.bat -rw-r--r-- 5.5 KB
requirements.txt -rw-r--r-- 128 bytes
runtime.txt -rw-r--r-- 3 bytes

README.rst

back to top