Re: [Python-Dev] any support for a methodcaller HOF?

2006-02-05 Thread Terry Reedy
"Nick Coghlan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I guess I misstated myself slightly - I've previously advocated re-using > the > 'def' keyword, so there are obviously parallels I want to emphasize. If 3.0 comes with a conversion program, then I would like to see 'la

Re: [Python-Dev] Let's just *keep* lambda

2006-02-05 Thread Terry Reedy
"Guido van Rossum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > After so many attempts to come up with an alternative for lambda, > perhaps we should admit defeat. I've not had the time to follow the > most recent rounds, but I propose that we keep lambda, so as to stop > wasting

Re: [Python-Dev] _length_cue()

2006-02-09 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >>>> Might I suggest that at least you consider using "hint" instead of > "cue"? >... > >Greg> I agree that "hint" is a more precise name. > > Ditto. In addition, we already have queues. Do we really need to use a > homony

Re: [Python-Dev] PEP for adding an sq_index slot so that any object, a or b, can be used in X[a:b] notation

2006-02-09 Thread Terry Reedy
> Add a nb_index slot to PyNumberMethods, and a corresponding > __index__ special method. Objects could define a function to > place in the sq_index slot that returns an appropriate I presume 'sq_index' should also be 'nb_index' ___ Python-Dev

<    21   22   23   24   25   26