473,581 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fwd: [Python-Dev] Strawman decision: @decorator won't change

I took the freedom to forward GvR's mail concerning decorator cosmetics.
I think you should know about it.

Peter

---------- Forwarded Message ----------

Subject: [Python-Dev] Strawman decision: @decorator won't change
Date: Wednesday 15 September 2004 23:46
From: Guido van Rossum <gv********@gma il.com>
To: Python-Dev <py********@pyt hon.org>

Anthony Baxter asked me for a pronouncement on whether @decorator will
change to use some other character instead; I kept this open as a
possibility before 2.4b1 (which is tentatively scheduled for Oct 7th).
Given the near-complete silence following my rejection of the J2
alternative proposal, I don't expect there to be a massive popular
movement to change the character, but I admit I haven't looked for
responses outside python-dev.

Let's plan on doing the following. If in the next 7 days there's no
indication that some group of users wants to rally for a different
character, the decision to keep @ is made final on Sept 23. To change
the character, somebody will need to start rallying for a different
character, and be able to show signs of significant support by that
date.

The definition of "significan t support" is intentionally left open for
interpretation, I'll review the evidence on the 23rd.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)

Jul 18 '05 #1
16 1886
>>>>> "Peter" == Peter Otten <__*******@web. de> writes:

Peter> Let's plan on doing the following. If in the next 7 days
Peter> there's no indication that some group of users wants to
Peter> rally for a different character, the decision to keep @ is
Peter> made final on Sept 23. To change

Are we going to have another vote? Do people still care enough to
count?

If so, here's my vote for '|' :-).

--
Ville Vainio http://tinyurl.com/2prnb
Jul 18 '05 #2
Peter Otten wrote:
Anthony Baxter asked me for a pronouncement on whether @decorator will
change to use some other character instead; I kept this open as a


And if will be pronounced
- mouche (= french for beauty spot): if you like the syntax
- wart: if you don't

Daniel
Jul 18 '05 #3
On Thu, 16 Sep 2004 10:59:12 +0200, Peter Otten wrote:
Let's plan on doing the following. If in the next 7 days there's no
indication that some group of users wants to rally for a different
character, the decision to keep @ is made final on Sept 23. To change
the character, somebody will need to start rallying for a different
character, and be able to show signs of significant support by that
date.


Hmmmm... what's the Unicode point for the Chinese ideogram closest in
meaning to "decorator" ? Combines all the advantages of "one character"
with all the advantages of "descriptiv e keyword" all at once.

What possible counter-arguments could be brought to bear?

All-the-keywords-should-be-Unicode-Chinese-ly yrs,
Jeremy Bowers
Jul 18 '05 #4
Jeremy Bowers wrote:
What possible counter-arguments could be brought to bear?

All-the-keywords-should-be-Unicode-Chinese-ly yrs,


Traditional or simplified?

:)

Andrew
da***@dalkescie ntific.com
Jul 18 '05 #5
On Thu, 16 Sep 2004 20:55:24 GMT, Andrew Dalke <ad****@mindspr ing.com> wrote:
Jeremy Bowers wrote:
What possible counter-arguments could be brought to bear?

All-the-keywords-should-be-Unicode-Chinese-ly yrs,


Traditional or simplified?

:)


Is that a di-glyph suggestion? (IOW, why a _single_ character to replace '@' ?)

Regards,
Bengt Richter
Jul 18 '05 #6
On Fri, 17 Sep 2004 00:07:42 +0000, Bengt Richter wrote:
Is that a di-glyph suggestion? (IOW, why a _single_ character to replace '@' ?)


Because that's what Guido is calling for.

Given that this has been the majority of discussion on the topic, I'd
hazard a guess that the '@' is going to stick. :-)
Jul 18 '05 #7
"Peter Otten" <__*******@web. de> wrote in message
news:ci******** *****@news.t-online.com...
I took the freedom to forward GvR's mail concerning decorator cosmetics.
I think you should know about it.

Peter

Why? Sounds like the same rigged rules as before. Who wants to burn up any
more cycles on this?

I don't have a problem with GvR making his decisions about the language -
it's his. I do have a problem with his asking for input, under terms that
are so unlikely to permit that input to have any influence, and then patting
himself on the back for polling the user community for their comments. And
he wonders at the "near-complete silence following my rejection of J2"???
(For that matter, why didn't Guido post this 7-day discussion period on
c.l.py himself? Makes one wonder how seriously he really wants any more
input.)

Ultimately, this choice will boil down to Guido's own sense of esthetics.
He has already dismissed/discounted arguments against '@' based on usage in
other tools or language implementations . And there is little sense in
trying to marshal argument and rhetoric on the
etymology/semantics/verbalizations/human factors of '@' vs. '|' vs. '>>' or
whatever - these go so far adrift into meta-space that they quickly lose
focus on the original topic, and thereby reinforce GvR's impression that
this discussion has no emerging consensus or coherence.

I and many others have offered our feedback (i.e., complained) that '@' is
an offense to the eye, a blot on Python's heretofore cleanness of syntax and
form, and implicit readability. '@' doesn't *mean* anything. At least '|'
brings a "pipe" semantic from Unix, or '^' evokes a "return" concept from
Smalltalk, or '>>' the notion of "stream" from C++. When I see '@', the
first thing I think of is e-mail, and the second thing I think of is an
invoice ("20 widgets @ $0.25 = $5.00").

So what? It all boils down to "I like 'X'", "Well, I like 'Y'", to "Thanks
for your feedback, the answer is '@'."

-- Paul
Jul 18 '05 #8
On Fri, 17 Sep 2004 10:28:52 GMT, "Paul McGuire"
<pt***@austin.r r._bogus_.com> wrote:
"Peter Otten" <__*******@web. de> wrote in message
news:ci******* ******@news.t-online.com...
I took the freedom to forward GvR's mail concerning decorator cosmetics.
I think you should know about it.

Peter
Why? Sounds like the same rigged rules as before. Who wants to burn up any
more cycles on this?


snip
I and many others have offered our feedback (i.e., complained) that '@' is
an offense to the eye, a blot on Python's heretofore cleanness of syntax and
form, and implicit readability. '@' doesn't *mean* anything. At least '|'
brings a "pipe" semantic from Unix, or '^' evokes a "return" concept from
Smalltalk, or '>>' the notion of "stream" from C++. When I see '@', the
first thing I think of is e-mail, and the second thing I think of is an
invoice ("20 widgets @ $0.25 = $5.00").

So what? It all boils down to "I like 'X'", "Well, I like 'Y'", to "Thanks
for your feedback, the answer is '@'."


And were it opened for debate you would run into bizarre arguments in
its defense. Like mine.

That there a mechanism in Python described by a arbitrary word,
"decorator" and provoked by an arbitrary symbol '@'

The symbol *works*, as a sore thumb and a tacit admission of
something,

It is defended in this view by its anti-esthetic.

Having to put up with this kind of argument in its defense is perhaps
a good reason to not re-open the discussion.

Art
Jul 18 '05 #9
"Arthur" <aj******@opton line.com> wrote in message
news:15******** *************** *********@4ax.c om...
<snip>
And were it opened for debate you would run into bizarre arguments in
its defense. Like mine.
Well, it *is* opened for debate, so knock yourself out. The more bizarre
the better, I'd say.
That there a mechanism in Python described by a arbitrary word,
"decorator" and provoked by an arbitrary symbol '@'

The symbol *works*, as a sore thumb and a tacit admission of
something,
Why do STOP signs say STOP? Why not put an arbitrary @ sign on them, and
tell everyone it means STOP?

Your argument is equally valid for *any* symbol. Why choose this ugly blot?
This arbitrary symbology is the way of Perl and APL. I thought one of the
beauties of Python was that it doesn't impose this kind of obtusity on the
developer or maintainer.
It is defended in this view by its anti-esthetic.
Are you a Dada-ist? Is Python becoming the Dada language?
(http://arthistory.about.com/cs/arthi...one/a/dada.htm)
Having to put up with this kind of argument in its defense is perhaps
a good reason to not re-open the discussion.

This sounds like another way of saying "this is a silly argument, and we
would be better off without it." The point is, just about *all* the
arguments for this symbol or that will from here on *be* silly arguments.

-- Paul
''Suppose someone were to assert: The gostak distims the doshes. You do
not know what this means; nor do I. But if we assume that it is
English, we know that 'the doshes are distimmed by the gostak'. We
know too that 'one distimmer of doshes is a gostak' . If moreover,
the 'doshes are galloons', we know that 'some galloons are distimmed
by the gostak'. And so we may go on, and *so we often do go on.*''
From "The Meaning of Meaning" by C.K.Ogden and I.A. Richards
Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3857
by: Richard | last post by:
Hi, I have a DateTime picker control on a form. The datetime picker control is data bound to a column in a DataTable. Yes I know about bound DateTime pickers and DBNull and etc. so no troubles with that stuff... However, as somebody out there probably knows, programmatically setting the DateTimePicker.Value property to a new VALUE does...
5
1918
by: manokumar | last post by:
hiye, i notice that some if not all of my folders in winxp pro. are set as read only and its giving me some problem with development. so as the natural thing, i unchecked the read only option and click apply then click ok. and when i right click on the same folder again JUST TO MAKE SURE the read only option is checked AGAIN. so again,...
2
2216
by: Pieter | last post by:
Hi, I'm using the Settings.settings of VB.NET to define a Connectionstring (Scope = application). When I deploy the Solution, and change this Setting in the app.config-file, it seems that itdoesn't affect the Application at all! It still uses the old value. Are the Settings.Setting hardcoded somewhere in the application? I can't find...
13
1769
by: Lad | last post by:
I use Python 2.3. I have heard about decorators in Python 2.4. What is the decorator useful for? Thanks for reply L.
4
1607
by: Wilbert Berendsen | last post by:
Hi, is it possible to manipulate class attributes from within a decorator while the class is being defined? I want to register methods with some additional values in a class attribute. But I can't get a decorator to change a class attribute while the class is still being defined. Something like: class Parser(object): regexps =
0
897
by: Christian Heimes | last post by:
Wilbert Berendsen schrieb: It's really tricky . The class object doesn't exists yet. It's created after all functions are parsed and created. You have can walk up the stack frames but it's ugly. Christian
18
7743
by: wizdom | last post by:
Help - change text on click - text has another onclick inside with php variables ---------- I think what I'm trying to do is simple. I have a 2 buttons on a page. 1 button allows a thread of messages to be displayed, the other button collapses that same thread. Works fine. I was asked if I can just make it one button. I've played...
0
7862
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7789
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8144
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8169
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6551
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5361
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3820
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.