[New-bugs-announce] [issue41177] ConvertingList and ConvertingTuple lack iterators and ConvertingDict lacks items()

Brett Hannigan report at bugs.python.org
Tue Jun 30 19:10:03 EDT 2020


New submission from Brett Hannigan <brett.hannigan at gmail.com>:

The logging.config module uses three internal data structures to hold items that may need to be converted to a handler or other object: ConvertingList, ConvertingTuple, and ConvertingDict.

These three objects provide interfaces to get converted items using the __getitem__ methods. However, if a user tries to iterate over items in the container, they will get the un-converted entries.

----------
components: Library (Lib)
messages: 372724
nosy: Brett Hannigan
priority: normal
severity: normal
status: open
title: ConvertingList and ConvertingTuple lack iterators and ConvertingDict lacks items()
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41177>
_______________________________________


More information about the New-bugs-announce mailing list