strange error with python and mailman

Heiko Wundram heikowu at ceosg.de
Tue Aug 21 04:37:34 EDT 2001


On Tuesday 21 August 2001 11:51, you wrote:

Hmm... The following looks strange:

> Aug 21 09:41:02 2001 qrunner(12473):   File
> "/usr/lib/python1.5/multifile.py", line 157, in section_divider
> Aug 21 09:41:02 2001 qrunner(12473):      return "--" + str
> Aug 21 09:41:02 2001 qrunner(12473): TypeError :  illegal argument type
> for built-in operation

Its adding str (normally a builtin function) to "--"?! Maybe str is normally 
assigned a value before that and shadows the builtin, and that isn't 
happening now.

What the TypeError is complaining about is that you add two types that are 
incompatible, just as adding a function to a string should be!

Hmm... Can you send the file multifile.py, so that I can check that one? 
Please only via private mail, as many people on the list don't feel like 
downloading 30KB messages which don't interest them... :)

-- 
Yours sincerely,

	Heiko Wundram




More information about the Python-list mailing list