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 wolma
Recipients rprosser, wolma
Date 2016-11-25.13:21:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480080093.12.0.433718733379.issue28801@psf.upfronthosting.co.za>
In-reply-to
Content
> Ah. Something like self._interpolation.before_get(self, section, option, value, d) could be better written as self._interpolation.before_get(parser=self, ...)

Yep, that's roughly what I was trying to explain.

> I still don't grock the apparent 'get()' signature mis-match however.

There is not much special here either. RawConfigParser inherits from MutableMapping, which in turn inherits from Mapping, which defines a get method, which RawConfigParser overwrites. The overwritten and the overwriting method *do* have different parameters, but I don't see why that matters.

In general, this does not look like a topic for the Python bug tracker (you are not reporting a bug, but you try to understand how correctly working code does its job), but rather for news:comp.lang.python or a PyCharm mailing list.
History
Date User Action Args
2016-11-25 13:21:33wolmasetrecipients: + wolma, rprosser
2016-11-25 13:21:33wolmasetmessageid: <1480080093.12.0.433718733379.issue28801@psf.upfronthosting.co.za>
2016-11-25 13:21:33wolmalinkissue28801 messages
2016-11-25 13:21:32wolmacreate