Message281715
> 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. |
|
Date |
User |
Action |
Args |
2016-11-25 13:21:33 | wolma | set | recipients:
+ wolma, rprosser |
2016-11-25 13:21:33 | wolma | set | messageid: <1480080093.12.0.433718733379.issue28801@psf.upfronthosting.co.za> |
2016-11-25 13:21:33 | wolma | link | issue28801 messages |
2016-11-25 13:21:32 | wolma | create | |
|