Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Juancarlo Añez
On Sun, May 14, 2017 at 1:28 PM, Steven D’Aprano wrote: - contact Tim Mitchell and see if his offer of contributing the code > still stands; > FWIW, this is a Python implementation of a single-dispatch decorator for methods that I wrote from looking at the stdlib, and that I have used successfull

Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Guido van Rossum
Thanks Steven. I think you've just concisely summarized the info in this section of the devguide: https://docs.python.org/devguide/stdlibchanges.html On Sun, May 14, 2017 at 10:28 AM, Steven D'Aprano wrote: > On Sun, May 14, 2017 at 05:10:53PM +, Bar Harel wrote: > > As I said, sorry for tha

Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Steven D'Aprano
On Sun, May 14, 2017 at 05:10:53PM +, Bar Harel wrote: > As I said, sorry for that. > > It's just that I'm not entirely sure there's anything to implement here. > The implementation already exists. If it doesn't suffice I will help as > much as I can to make sure it works :-) I think you've s

Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Steven D'Aprano
On Sun, May 14, 2017 at 04:37:32PM +, Bar Harel wrote: > I guess so. > > Sorry for that. > To be honest I'm not entirely sure of the entire procedure and if small > things need a PEP or not. I actually received the tip to bump from > core-mentorship, so now I'm rather confused. If you are ref

Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Bar Harel
As I said, sorry for that. It's just that I'm not entirely sure there's anything to implement here. The implementation already exists. If it doesn't suffice I will help as much as I can to make sure it works :-) On Sun, May 14, 2017, 7:49 PM Guido van Rossum wrote: > Maybe ask core membership

Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Guido van Rossum
Maybe ask core membership if they meant you to literally just post just the word "bump" to the list (my guess is not). Also the last time I see that you received any advice was a long time ago and regarding to a different issue. For this idea there's no issue and no patch (and core devs aren't requ

Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Bar Harel
I guess so. Sorry for that. To be honest I'm not entirely sure of the entire procedure and if small things need a PEP or not. I actually received the tip to bump from core-mentorship, so now I'm rather confused. Anyway, shall I add it to the bug tracker as an enhancement? On Sun, May 14, 2017, 7

Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Guido van Rossum
PS: I didn't see a message from Lisa on the mailing list -- maybe she replied to you only? On Sun, May 14, 2017 at 9:25 AM, Guido van Rossum wrote: > How exactly do you think the process of adopting something into the stdlib > works? Just posting "bump" messages to the mailing list doesn't reall

Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Guido van Rossum
How exactly do you think the process of adopting something into the stdlib works? Just posting "bump" messages to the mailing list doesn't really help, it just sounds rude.If you need help understanding how to add/improve a stdlib module, please ask a specific about that topic. On Sun, May 14, 201

Re: [Python-ideas] singledispatch for instance methods

2017-05-14 Thread Bar Harel
Bump On Wed, Jan 4, 2017, 8:01 PM Lisa Roach wrote: > +1 to this as well, I think this would be really useful in the stdlib. > > On Mon, Dec 26, 2016 at 5:40 AM, Bar Harel wrote: > >> Any updates with a singledispatch for methods? >> >> On Tue, Sep 20, 2016, 5:49 PM Bar Harel wrote: >> >>> At

Re: [Python-ideas] singledispatch for instance methods

2016-12-26 Thread Bar Harel
Any updates with a singledispatch for methods? On Tue, Sep 20, 2016, 5:49 PM Bar Harel wrote: > At last! Haven't used single dispatch exactly because of that. Thank you > savior! > +1 > > On Tue, Sep 20, 2016, 6:03 AM Tim Mitchell > wrote: > >> Hi All, >> >> We have a modified version of single

Re: [Python-ideas] singledispatch for instance methods

2016-09-20 Thread Bar Harel
At last! Haven't used single dispatch exactly because of that. Thank you savior! +1 On Tue, Sep 20, 2016, 6:03 AM Tim Mitchell wrote: > Hi All, > > We have a modified version of singledispatch at work which works for > methods as well as functions. We have open-sourced it as methoddispatch > (p