This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients doughellmann, eric.smith, theller, vinay.sajip
Date 2009-09-21.16:59:42
SpamBayes Score 9.8037335e-06
Marked as misclassified No
Message-id <1253552384.82.0.704979112175.issue6958@psf.upfronthosting.co.za>
In-reply-to
Content
I get the idea. The Python part of the patch demonstrates what you're
getting at, though it can't be used as is - for example the
getattr(logging, a, a) could lead to problems. However a more
intelligent parser (which looked for specific keywords recognised by
basicConfig(), and got the correct values accordingly) wouldn't be much
more complicated. (I'll look at enhancing this part.)

As for the changes to main.c - I am a C/C++ developer but have not made
any changes to Python C code so far - it would be good if a more
experienced committer reviews this part (not sure who - can someone
please reassign/add to nosy list)? Thanks.
History
Date User Action Args
2009-09-21 16:59:45vinay.sajipsetrecipients: + vinay.sajip, theller, eric.smith, doughellmann
2009-09-21 16:59:44vinay.sajipsetmessageid: <1253552384.82.0.704979112175.issue6958@psf.upfronthosting.co.za>
2009-09-21 16:59:43vinay.sajiplinkissue6958 messages
2009-09-21 16:59:43vinay.sajipcreate