Logging messages with dictionary args in Python 2.4b1 leads to exception
Alex Martelli
aleaxit at yahoo.com
Wed Oct 20 18:10:08 EDT 2004
More information about the Python-list mailing list
Wed Oct 20 18:10:08 EDT 2004
- Previous message (by thread): Logging messages with dictionary args in Python 2.4b1 leads to exception
- Next message (by thread): Logging messages with dictionary args in Python 2.4b1 leads to exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stefan Behnel <behnel_ml at dvs1.informatik.tu-darmstadt.de> wrote: ... > Even this works: > log("message %s", {'a':1, 'b':2}) > > So the only (!) change is the additional support for dictionary arguments. > No drawbacks. Actually, I think that: log('msg %s', (1, 2, 3)) works w/o your patch but your patch breaks it, so it's not strictly true that there are no drawbacks, I believe. Possibly the drawback's minor, though. Alex
- Previous message (by thread): Logging messages with dictionary args in Python 2.4b1 leads to exception
- Next message (by thread): Logging messages with dictionary args in Python 2.4b1 leads to exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list