using configobj string interpolation and logging.config.dictConfig (was Re: dictConfig: logging.StreamHandler object is not iterable.)

2017-05-25 Thread Tim Williams
On Wednesday, May 24, 2017 at 5:47:37 PM UTC-4, Peter Otten wrote: > Tim Williams wrote: > > > Just as a followup, if I use 'unrepr=True' in my ConfigObj, I don't have > > to convert the strings. > > I'd keep it simple and would use JSON... I looked at JSON at first, but went with configobj beca

Re: dictConfig: logging.StreamHandler object is not iterable.

2017-05-24 Thread Peter Otten
Tim Williams wrote: > Just as a followup, if I use 'unrepr=True' in my ConfigObj, I don't have > to convert the strings. I'd keep it simple and would use JSON... -- https://mail.python.org/mailman/listinfo/python-list

Re: dictConfig: logging.StreamHandler object is not iterable.

2017-05-24 Thread Tim Williams
On Wednesday, May 24, 2017 at 2:46:54 PM UTC-4, Tim Williams wrote: > (Apologies for using Google Groups to post) > > I'm trying to use dictConfig to configure logging. I keep running into the > error that the logging.StreamHandler object is not iterable. > > I'm using Python 3.4.3 on a Windows

Re: dictConfig: logging.StreamHandler object is not iterable.

2017-05-24 Thread Tim Williams
On Wednesday, May 24, 2017 at 2:46:54 PM UTC-4, Tim Williams wrote: > (Apologies for using Google Groups to post) > > I'm trying to use dictConfig to configure logging. I keep running into the > error that the logging.StreamHandler object is not iterable. > > I'm using Python 3.4.3 on a Windows

Re: dictConfig: logging.StreamHandler object is not iterable.

2017-05-24 Thread Peter Otten
Tim Williams wrote: > (Apologies for using Google Groups to post) > > I'm trying to use dictConfig to configure logging. I keep running into the > error that the logging.StreamHandler object is not iterable. > > I'm using Python 3.4.3 on a Windows 7 box. > > C:\Python34\python.exe 3.4.3 (v3.4.3