This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年04月09日 08:53 by Adam.Groszer, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg215809 - (view) | Author: Adam Groszer (Adam.Groszer) | Date: 2014年04月09日 08:53 | |
In RawConfigParser the "__name__" option handling is inconsistent: RawConfigParser.options() and items() works hard to hide it, but has_options() does not |
|||
| msg215817 - (view) | Author: Adam Groszer (Adam.Groszer) | Date: 2014年04月09日 13:30 | |
e.g. myconfig.has_options(<existing section>, "__name__") is always True, whereas myconfig.options(<existing section>) never has a "__name__" entry |
|||
| msg226353 - (view) | Author: Łukasz Langa (lukasz.langa) * (Python committer) | Date: 2014年09月04日 08:49 | |
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. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:01 | admin | set | github: 65385 |
| 2014年09月04日 08:49:42 | lukasz.langa | set | status: open -> closed type: behavior messages: + msg226353 resolution: fixed stage: resolved |
| 2014年04月12日 06:27:45 | eric.araujo | set | assignee: lukasz.langa nosy: + lukasz.langa |
| 2014年04月09日 13:30:26 | Adam.Groszer | set | messages: + msg215817 |
| 2014年04月09日 08:53:03 | Adam.Groszer | create | |