◐ Shell
clean mode source ↗

Message 243964 - Python tracker

Eric, unless I'm misreading your debugging info, it is the other way around -- something is in the dict, but not in the list that you iterate over.  

And since the list that you iterate over looks right, I have to wonder if it was something internal-to-configparser (or its various converters and proxies).  Perhaps the __root used by the collections.OrderedDict that it uses by default?

Can you iterate over it as a dict, instead of as an ordered dict, to find the discrepancy?