diff options
author | Brett Cannon <brett@python.org> | 2012-04-26 00:54:04 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-26 00:54:04 (GMT) |
commit | e0d88a173c5ccc346b8d7c6e805f0e49b4ea92f7 (patch) | |
tree | 476528c79622c96645adf554536eeeba0c4ee0d8 /Misc/NEWS | |
parent | 8f79dd5d7cc3eb19d568f8e95f04ee33f1177d92 (diff) | |
download | cpython-e0d88a173c5ccc346b8d7c6e805f0e49b4ea92f7.zip cpython-e0d88a173c5ccc346b8d7c6e805f0e49b4ea92f7.tar.gz cpython-e0d88a173c5ccc346b8d7c6e805f0e49b4ea92f7.tar.bz2 |
Issue #14605: Make explicit the entries on sys.path_hooks that used to
be implicit.
Added a warning for when sys.path_hooks is found to be empty. Also
changed the meaning of None in sys.path_importer_cache to represent
trying sys.path_hooks again (an interpretation of previous semantics).
Also added a warning for when None was found.
The long-term goal is for None in sys.path_importer_cache to represent
the same as imp.NullImporter: no finder found for that sys.path entry.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,11 @@ What's New in Python 3.3.0 Alpha 3? Core and Builtins ----------------- +- Issue #14605: No longer have implicit entries in sys.path_hooks. If + sys.path_hooks is found to be empty, a warning will be raised. If None is + found in sys.path_importer_cache, a warning is raised and a search on + sys.path_hooks is attempted. + - Issue #13903: Implement PEP 412. Individual dictionary instances can now share their keys with other dictionaries. Classes take advantage of this to share their instance dictionary keys for improved memory and performance. |