[Python-Dev] Proposed change to logging.basicConfig

2011-03-29 Thread Vinay Sajip
I'm planning a change to logging.basicConfig to add an optional handlers keyword argument which defaults to None. If specified, this should be an iterable of already created handlers, which will be added to the root logger (if it doesn't already have any handlers). Any handler in the iterable

Re: [Python-Dev] Proposed change to logging.basicConfig

2011-03-29 Thread Antoine Pitrou
On Tue, 29 Mar 2011 16:35:08 + (UTC) Vinay Sajip vinay_sa...@yahoo.co.uk wrote: I'm planning a change to logging.basicConfig to add an optional handlers keyword argument which defaults to None. If specified, this should be an iterable of already created handlers, which will be added to

Re: [Python-Dev] Proposed change to logging.basicConfig

2011-03-29 Thread Terry Reedy
On 3/29/2011 12:35 PM, Vinay Sajip wrote: I'm planning a change to logging.basicConfig to add an optional handlers keyword argument which defaults to None. If specified, this should be an iterable of already created handlers, which will be added to the root logger (if it doesn't already have

Re: [Python-Dev] Proposed change to logging.basicConfig

2011-03-29 Thread Matthew Woodcraft
Terry Reedy tjre...@udel.edu wrote: I am bothered by mutually exclusive parameters. This is one reason I was glad to see cmp eliminated from list.sort. Quick: what happens if one passes both cmp and key to list.sort? There are three reasonable possibilities. As far as I can read, the answer