Re: [Python-Dev] Fwd: Partial function application 'from the right'

2009-02-02 Thread Hagen Fürstenau
Ludvig Ericson wrote: > Well, I was trying to be funny and was under the impression that Python > 3.0 had Unicode identifiers, but apparently it doesn't. (I used …, not ...) It does, but they may not contain characters of the category "Punctuation, other": >>> import unicodedata >>> unicodedata.c

Re: [Python-Dev] Fwd: Partial function application 'from the right'

2009-02-01 Thread Ludvig Ericson
Nick Coghlan wrote: That won't work: ... = 1 File "", line 1 SyntaxError: can't assign to Ellipsis Well, I was trying to be funny and was under the impression that Python 3.0 had Unicode identifiers, but apparently it doesn't. (I used …, not ...) - Ludvig _

Re: [Python-Dev] Fwd: Partial function application 'from the right'

2009-01-31 Thread Nick Coghlan
Ludvig Ericson wrote: > Begin forwarded message: >> From: Ludvig Ericson >> Or even >> >> … = partial.skip >> split_one = partial(str.split, …, 1) That won't work: >>> ... = 1 File "", line 1 SyntaxError: can't assign to Ellipsis Like None/True/False, "..." is a constant that can't be modifie