[New-bugs-announce] [issue7287] import hook demo does not work

Baptiste Lepilleur report at bugs.python.org
Sun Nov 8 14:30:50 CET 2009

New submission from Baptiste Lepilleur <blep at users.sourceforge.net>:

The import hook demo in the source directory
Python-3.1.1\Demo\imputil\knee.py fails to run correctly:

Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import knee
>>> import ctypes.utils
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: import_hook() takes at most 4 positional arguments (5 given)

components: Demos and Tools
messages: 95040
nosy: blep
severity: normal
status: open
title: import hook demo does not work
type: behavior
versions: Python 3.1

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list