[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset a8b30fd6ee4f by Nick Coghlan in branch '3.4': Close #20839: pkgutil.find_loader now uses importlib.util.find_spec http://hg.python.org/cpython/rev/a8b30fd6ee4f -- ___ Python tracker

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset ea827c809765 by Nick Coghlan in branch 'default': Close #20839: pkgutil.find_loader now uses importlib.util.find_spec http://hg.python.org/cpython/rev/ea827c809765 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected stat

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-03 Thread Nick Coghlan
Nick Coghlan added the comment: OK, I can add it tonight. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-03 Thread Brett Cannon
Brett Cannon added the comment: LGTM, but I won't be able to commit it until Friday so hopefully Eric or you can do it sooner. -- ___ Python tracker ___

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-03 Thread Nick Coghlan
Nick Coghlan added the comment: Brett, Eric - if this looks right to you, feel free to commit and create the issue for Larry to incorporate it into 3.4.0. -- ___ Python tracker

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-03 Thread Nick Coghlan
Nick Coghlan added the comment: Attached patch adds some appropriate unit tests, switches pkgutil.find_loader over to using importlib.util.find_spec and updates the docs appropriately. I also filed issue 20842 relating to the fact that the pkgutil docs still refer to PEP 302 when they should b

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-03 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, I think I see what may have happened - when we finally switched all the stdlib importers over to PEP 302 (and consistently set __loader__), the pkgutil.get_loader fallback to pkgutil.find_loader stopped being exercised by the test suite (it's currently missi

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-03 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +larry priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-03 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever, brett.cannon, eric.snow, ncoghlan ___ Python tracker ___ ___ Pyth

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-03 Thread Armin Ronacher
Armin Ronacher added the comment: This also happens with the latest hg version. I could not make an isolated test case unfortunately but it happens on the flask testsuite if run on 3.4. -- ___ Python tracker

[issue20839] pkgutil.get_loader throws deprecation warning due to internal deprecation

2014-03-02 Thread Armin Ronacher
New submission from Armin Ronacher: pkgutil.get_loader calls pkgutil.find_loader which calls importlib.find_loader The latter logs a deprecation warning about it being replaced by importlib.util.find_spec. This is a regression in 3.4 as far as I can see. -- keywords: 3.4regression mes