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.

Author lukasz.langa
Recipients Rich.Rauenzahn, lukasz.langa, xiang.zhang
Date 2016-06-20.17:28:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466443689.6.0.504468715223.issue27351@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for your report, Rich.  configparser is one of the oldest libraries in the standard library.  Its behavior might sometimes not be intuitive to newcomers but is burdened by years of backwards compatibility.  Changing the behavior now to raise a type error on an open file passed to read would inevitably cause some program in the wild to break.  Given this constraint, there's not much we can do besides documentation.  If you have suggestions how we could improve it, let me know here.
History
Date User Action Args
2016-06-20 17:28:09lukasz.langasetrecipients: + lukasz.langa, Rich.Rauenzahn, xiang.zhang
2016-06-20 17:28:09lukasz.langasetmessageid: <1466443689.6.0.504468715223.issue27351@psf.upfronthosting.co.za>
2016-06-20 17:28:09lukasz.langalinkissue27351 messages
2016-06-20 17:28:09lukasz.langacreate