[issue14797] Deprecate imp.find_module()/load_module()

2013-06-11 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___

[issue14797] Deprecate imp.find_module()/load_module()

2013-06-08 Thread Thomas Heller
Thomas Heller added the comment: The modulefinder usage is directly exposed in its API as the return value of a find_module method, which makes removal a pain. Adding Thomas Heller to see what he has to say. Some months ago, I have started to implement a brand-new modulefinder, which is

[issue14797] Deprecate imp.find_module()/load_module()

2013-06-07 Thread Brett Cannon
Brett Cannon added the comment: Current status (with test_imp stripped out): ack imp\.(find|load)_module Lib Lib/modulefinder.py 482:return imp.find_module(name, path) Lib/pkgutil.py 189:file, filename, etc = imp.find_module(subname, path) 251:mod =

[issue14797] Deprecate imp.find_module()/load_module()

2013-06-07 Thread Brett Cannon
Brett Cannon added the comment: The modulefinder usage is directly exposed in its API as the return value of a find_module method, which makes removal a pain. Adding Thomas Heller to see what he has to say. The pkgutil usage is in classes that have been deprecated, so don't care. The rest

[issue14797] Deprecate imp.find_module()/load_module()

2013-06-07 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +Delete test_importhooks ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___ ___

[issue14797] Deprecate imp.find_module()/load_module()

2013-06-07 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +remove usage of imp.load_module() from pydoc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___

[issue14797] Deprecate imp.find_module()/load_module()

2013-05-25 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +Stop using imp in IDLE ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___ ___

[issue14797] Deprecate imp.find_module()/load_module()

2013-02-27 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +Stop using imp.find_module() in multiprocessing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___

[issue14797] Deprecate imp.find_module()/load_module()

2013-02-27 Thread Brett Cannon
Brett Cannon added the comment: Assuming issue #17314 gets fixed, that leaves the following uses of imp.find_module(): Lib/idlelib/EditorWindow.py 39:Version of imp.find_module() that handles hierarchical module names 45:(file, filename, descr) = imp.find_module(tgt, path)

[issue14797] Deprecate imp.find_module()/load_module()

2013-02-27 Thread Brett Cannon
Brett Cannon added the comment: The remaining uses of imp.load_module() after issue #17314 (which will probably all disappear as uses of imp.find_module() is removed): Lib/idlelib/EditorWindow.py 48:module = imp.load_module(tgt, file, filename, descr) Lib/pkgutil.py 291:

[issue14797] Deprecate imp.find_module()/load_module()

2013-02-27 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___ ___

[issue14797] Deprecate imp.find_module()/load_module()

2012-07-11 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___ ___ Python-bugs-list

[issue14797] Deprecate imp.find_module()/load_module()

2012-07-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___ ___ Python-bugs-list

[issue14797] Deprecate imp.find_module()/load_module()

2012-05-18 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___ ___ Python-bugs-list

[issue14797] Deprecate imp.find_module()/load_module()

2012-05-13 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: With importlib.find_loader() now implemented, imp.find_module() (and its companion, imp.load_module()) can go away and stop inflicting their bad API upon the world. The trick, though, is fixing code that uses the API. That means pkgutil,

[issue14797] Deprecate imp.find_module()/load_module()

2012-05-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___ ___

[issue14797] Deprecate imp.find_module()/load_module()

2012-05-13 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: http://hg.python.org/lookup/59870239813c documents imp.find_module/load_module as deprecated w/o actually raising the deprecation. The code works fine, but the API is just crap. So in the name of ease of transition (and my own personal sanity),

[issue14797] Deprecate imp.find_module()/load_module()

2012-05-13 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: BTW, I'm leaving this issue open in case someone wants to take a stab and removing the uses of imp.find_module()/load_module() from the stdlb. -- ___ Python tracker rep...@bugs.python.org

[issue14797] Deprecate imp.find_module()/load_module()

2012-05-13 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___

[issue14797] Deprecate imp.find_module()/load_module()

2012-05-13 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14797 ___ ___ Python-bugs-list