[Python-Dev] synchronized enumerate

2005-12-19 Thread Chris or Leslie Smith
I see that there is a thread of a similar topic that was posted recently ( enumerate with a start index ) but thought I would start a new thread since what I am suggesting is a little different. Whenever I use enumerate, I am doing so because I will use the index to access some other element i

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

2006-02-05 Thread Chris or Leslie Smith
| making the implied return statment visible might also be a good idea, | e.g. | |lambda x, y: return x + y | | or even | |def (x, y): return x + y | Although I don't understand the implications of making such a change, the 2nd alternative above looks very nice. Whenever I write a la

Re: [Python-Dev] math.areclose ...?

2006-02-06 Thread Chris or Leslie Smith
|| || def areclose(x,y,rtol=1.e-5,atol=1.e-8): || return abs(x-y)http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com