[SciPy-dev] New Operators in Python
Steven H. Rogers
steve@shrogers....
Fri Mar 23 20:50:51 CDT 2007
Robert Kern wrote:
> Steven H. Rogers wrote:
>> Travis Oliphant wrote:
>>> It is somewhat workable as it stands, but I think it would be nicer if
>>> we could have some "meta" operator that allowed an alternative
>>> definition of major operators. Something like @* for example (just
>>> picking a character that is already used for decorators).
>>>
>>> I wonder if we should propose such a thing for Python 3000.
>> It wouldn't hurt. I think 'characters' in Py3K will be Unicode by
>> default, so there should be plenty of symbols available.
>
> However, the characters available in Python's syntax (outside of strings) will
> still be restricted to ASCII.
>
Still, Unicode could be used in a Mathematica notebook like front end
and translated to an ASCII representation for Python to compile. Of
course, if you're doing that, there would be no need to add operators to
Python itself.
# Steve
More information about the Scipy-dev
mailing list