[issue21203] logging configurators ignoring documented options

2014-04-15 Thread Jure Koren

Jure Koren added the comment:

I agree about the 2.7 branch, I did that one off the top of my head after 
struggling with backporting the code to 2.7.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21203] logging configurators ignoring documented options

2014-04-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2d33cbf02522 by Vinay Sajip in branch 'default':
Closes #21203: Updated fileConfig and dictConfig to remove inconsistencies. 
Thanks to Jure Koren for the patch.
http://hg.python.org/cpython/rev/2d33cbf02522

--
nosy: +python-dev
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21203] logging configurators ignoring documented options

2014-04-15 Thread Vinay Sajip

Vinay Sajip added the comment:

I'm not sure I can accept the change in 2.7, because it is technically a new 
feature and would mean that configs would not be treated the same way in all 
2.7.x versions failing in some and not in others. You can get the equivalent 
behaviour using '()' rather than 'class', and the 'class' keyword is only 
mentioned in the docs against Handlers, not Formatters.

The patch for the default branch looks OK. Thanks!

--
versions:  -Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21203] logging configurators ignoring documented options

2014-04-11 Thread Ned Deily

Changes by Ned Deily :


--
nosy: +vinay.sajip

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21203] logging configurators ignoring documented options

2014-04-11 Thread Jure Koren

Jure Koren added the comment:

2.7's logging.config.DictConfig does not respect the "class" option, but 
fileConfig does.

The default branch logging.config has the same problem in DictConfig, but also 
lacks "style" support in fileConfig.

--
hgrepos: +234
Added file: http://bugs.python.org/file34788/logging_config_default.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21203] logging configurators ignoring documented options

2014-04-11 Thread Jure Koren

New submission from Jure Koren:

2.7's logging.config.DictConfig does not respect the "class" option, but 
fileConfig does.

The default branch logging.config has the same problem in DictConfig, but also 
lacks "style" support in fileConfig.

--
components: Library (Lib)
files: logging_config_2_7.diff
hgrepos: 233
keywords: patch
messages: 215954
nosy: Jure.Koren
priority: normal
severity: normal
status: open
title: logging configurators ignoring documented options
type: behavior
versions: Python 2.7, Python 3.5
Added file: http://bugs.python.org/file34787/logging_config_2_7.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com