Re: [Python-Dev] [Python-ideas] Show more info when `python -vV`

2016-10-16 Thread INADA Naoki
(Added python-dev in CC list, because there are enough +1 already). On Mon, Oct 17, 2016 at 3:06 PM, Chris Angelico wrote: > On Mon, Oct 17, 2016 at 5:02 PM, INADA Naoki wrote: >> $ ./python.exe -V >> Python 3.6.0b2+ >> >> $ ./python.exe -VV >> Python 3.6.0b2+ (3.6:0b29adb5c804+, Oct 17 2016, 15

Re: [Python-Dev] single dispatch for instance methods

2016-10-16 Thread Tim Mitchell
An interesting idea, however from my point of view in methoddispatch there is no dispatching on the self argument at all. Overriding methods simply allows your subclass to have a different dispatch table for a method than the super class. This happens when the class is created, not when the functi

Re: [Python-Dev] single dispatch for instance methods

2016-10-16 Thread Aric Coady
On Oct 14, 2016, at 8:49 AM, python-dev-requ...@python.org wrote: > Date: Fri, 14 Oct 2016 14:11:18 +1300 > From: Tim Mitchell > It would be nice if the @singledispatch decorator worked on instance > methods. > I have a reference implementation on pypi that does this ( > https://pypi.python.org/py