[issue11552] Confusing error message when hook module cannot be loaded

2011-10-19 Thread Éric Araujo
Éric Araujo added the comment: Maybe your bug was #11637, or one of the other bugs that I fixed in 1405df4a1535. Your simple example now works. -- assignee: tarek -> eric.araujo resolution: -> out of date stage: -> committed/rejected status: open -> closed type: crash -> behavior _

[issue11552] Confusing error message when hook module cannot be loaded

2011-03-22 Thread Éric Araujo
Éric Araujo added the comment: It’s strange because we do have tests for the function. Can you look at them and find any error? -- ___ Python tracker ___ _

[issue11552] Confusing error message when hook module cannot be loaded

2011-03-14 Thread cournapeau david
New submission from cournapeau david : The following simple example: setup.cfg [global] setup_hook = hooks.foo and the following hooks.py file def foo(content): pass Traceback (most recent call last): File "../distutils2/distutils2/pysetup", line 5, in main() File "/Users/david