On 29-Jan-09, at 3:38 PM, Daniel Stutzbach wrote:
On Thu, Jan 29, 2009 at 5:24 PM, Mike Klaas <mike.kl...@gmail.com>
wrote:
And yet, python isn't confined to mathematical notation. *, ** are
both overloaded for use in argument lists to no-one's peril, AFAICT.
Certainly, but there is no danger of confusion them for
multiplication in context, whereas:
split_comma = partial(str.split, ..., ',')
to me looks like "make ',' the last argument" rather than "make ','
the second argument".
Yes, I agree. I mistakenly thought that that was the proposal under
discussion (that partial(f, ..., 2) == right_curry(f, 2))
-Mike
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com