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
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
_
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
Begin forwarded message:
From: Ludvig Ericson
Date: January 31, 2009 16:43:50 GMT+01:00
To: Alexander Belopolsky
Subject: Re: [Python-Dev] Partial function application 'from the
right'
On Jan 31, 2009, at 04:02, Alexander Belopolsky wrote:
On Fri, Jan 30, 2009 at 7:42 PM, Antoine Pitrou