Logging messages with dictionary args in Python 2.4b1 leads to exception

Vinay Sajip vinay_sajip at yahoo.co.uk
Wed Oct 20 11:12:15 CEST 2004

Stefan Behnel <behnel_ml at dvs1.informatik.tu-darmstadt.de> wrote in message news:<cl34oq$7fk$1 at lnx107.hrz.tu-darmstadt.de>...
> Now, I'm somewhat confused that this doesn't work and I'm also worried 
> that this is only done in the module methods and not inside the class that 
> actually handles the logging (the root object in this case). This should 
> encourage a diverting behaviour of the module methods and the Logger 
> object methods with the same name. This looks like a bug to me. Adding the 
> tuple should /only/ be done inside the class, not in the module functions.

It's not a bug; however, the use case is not unreasonable, so I'll try
and get the functionality (sent by Stefan to me as a patch) into 2.4


Vinay Sajip

More information about the Python-list mailing list