A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/047106.html below:

[Python-Dev] Questions about '@' in pep 318

[Python-Dev] Questions about '@' in pep 318Michael Hudson mwh at python.net
Fri Aug 6 16:20:52 CEST 2004
"Edward K. Ream" <edreamleo at charter.net> writes:

>> > annotate.accepts(int, (int,float))
>>
>> I don't understand. How are you changing/annotating the function?
>
> I'm glad you asked.  My suggestion was that the compiler turn
>
> annotate.accepts(int, (int,float))
>
> into exactly what it would have turned
>
> @accepts(int, (int,float))
>
> into.

I don't like this sort of idea: something that's done by the compiler
should *look* like it is being done by the compiler, i.e. be new
syntax.

Cheers,
mwh

-- 
  GAG: I think this is perfectly normal behaviour for a Vogon. ...
VOGON: That is exactly what you always say.
  GAG: Well, I think that is probably perfectly normal behaviour for a
      psychiatrist. -- The Hitch-Hikers Guide to the Galaxy, Episode 9
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4