[issue17508] logging.config.ConvertingDict issue with MemoryHandler

2013-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5f6747a0ffc4 by Vinay Sajip in branch '2.7': Updated Misc/NEWS with #17508. http://hg.python.org/cpython/rev/5f6747a0ffc4 New changeset 5f7185cae787 by Vinay Sajip in branch '3.2': Updated Misc/NEWS with #17508.

[issue17508] logging.config.ConvertingDict issue with MemoryHandler

2013-03-22 Thread Pierre Le Marre
Pierre Le Marre added the comment: Thank you for the tip! I just try it, it works. This behavior is not documented, so it is quite confusing. I try also to use ``collections.OrderedDict``, as a quick fix, but it does not work. It seems we need here a simple resolution order. --

[issue17508] logging.config.ConvertingDict issue with MemoryHandler

2013-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ae1c28445f8 by Vinay Sajip in branch '2.7': Issue #17508: Handled out-of-order handler configuration correctly. http://hg.python.org/cpython/rev/8ae1c28445f8 New changeset ea00ae184d60 by Vinay Sajip in branch '3.2': Issue #17508: Handled

[issue17508] logging.config.ConvertingDict issue with MemoryHandler

2013-03-21 Thread Pierre Le Marre
New submission from Pierre Le Marre: Hi, I use Python 3.2.3 and Python 3.3.0 on Windows 7 64 bits. I have an issue with the short script enclosed. I use the module logging to get a log file with logging.FileHandler. There were some issues about the file access on Windows, so I added a buffer

[issue17508] logging.config.ConvertingDict issue with MemoryHandler

2013-03-21 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17508 ___ ___

[issue17508] logging.config.ConvertingDict issue with MemoryHandler

2013-03-21 Thread Vinay Sajip
Vinay Sajip added the comment: Yes, this fails because it tries to construct the MemoryHandler first. Because the constructing is done in order of the keys, you can get it to work by renaming the 'fileGlobal' to 'afileGlobal' - this gets constructed before 'bufferGlobal'. I agree this is a

[issue17508] logging.config.ConvertingDict issue with MemoryHandler

2013-03-21 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17508 ___ ___