New submission from Jean-Paul Calderone <[EMAIL PROTECTED]>: The __import__ function ihooks installs has a signature which is incompatible with the real __import__ function, breaking some things when ihooks is in use:
[EMAIL PROTECTED]:~$ python2.5 Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ihooks >>> ihooks.install() >>> from __future__ import absolute_import Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: import_module() takes at most 5 arguments (6 given) >>> ---------- components: Interpreter Core, Library (Lib) messages: 75414 nosy: exarkun severity: normal status: open title: ihooks incompatible with absolute_import feature type: behavior versions: Python 2.5, Python 2.5.3, Python 2.6 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4244> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com