Nick Coghlan added the comment: Yeah, don't replace any tests, add new ones for the new APIs. Given the needs of 2/3 compatible loader implementations, the deprecations referred to in the PEP should also be documentation-only for 3.4.
A more conservative approach also gives us a chance to make sure we have provided a full replacement for load_module - it occurred to me after the PEP was accepted that we may eventually need a "can_load_into(target)" loader API after all, since loaders may not be finder specific. That means that with the current API of passing the target to find_spec, I potentially talked us into repeating the "load_module" mistake on the finder side of things by asking the finder to handle more than it needed to. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18864> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com