[issue21186] RawConfigParser __name__ option handling inconsistent

2014-09-04 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for your report and sorry it took so long to respond! You are absolutely right that __name__ was a broken feature, which is why we removed it in Python 3.2. See issue #10489. For Python 2.7 you can use the backport, available on PyPI. --

[issue21186] RawConfigParser __name__ option handling inconsistent

2014-04-12 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: - lukasz.langa nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21186 ___

[issue21186] RawConfigParser __name__ option handling inconsistent

2014-04-09 Thread Adam Groszer
New submission from Adam Groszer: In RawConfigParser the __name__ option handling is inconsistent: RawConfigParser.options() and items() works hard to hide it, but has_options() does not -- components: Library (Lib) messages: 215809 nosy: Adam.Groszer priority: normal severity: normal

[issue21186] RawConfigParser __name__ option handling inconsistent

2014-04-09 Thread Adam Groszer
Adam Groszer added the comment: e.g. myconfig.has_options(existing section, __name__) is always True, whereas myconfig.options(existing section) never has a __name__ entry -- ___ Python tracker rep...@bugs.python.org