X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 195.154.70.45 Path: csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'python3': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'def': 0.14; '(via': 0.16; "guido's": 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.16; 'skip:g 40': 0.18; 'language': 0.19; 'lawrence': 0.22; 'rid': 0.22; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'not,': 0.27; 'looks': 0.29; 'name?': 0.29; 'skip:_ 10': 0.32; 'language.': 0.32; 'class': 0.33; 'symbol': 0.33; 'changing': 0.34; 'subject:?': 0.34; 'to:addr:python-list': 0.35; 'something': 0.35; 'being': 0.36; 'subject:" ': 0.36; 'subject:: ': 0.37; 'suggestion': 0.37; 'instead': 0.38; 'rather': 0.38; 'received:org': 0.38; 'self': 0.38; 'to:addr:python.org': 0.39; 'mark': 0.40; 'our': 0.64; 'believe': 0.67; '8bit%:21': 0.70; 'apart': 0.70; 'received:89': 0.80; 'pythonistas,': 0.84; 'subject:self': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: should "self" be changed? Date: Tue, 26 May 2015 21:45:36 +0100 References: <551c8229-f426-45f0-a0ee-fdad1b161f59@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-89-240-166-61.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432673145 news.xs4all.nl 2948 [2001:888:2000:d::a6]:32849 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91264 On 26/05/2015 21:26, garabik-news-2005-05@kassiopeia.juls.savba.sk wrote: > zipher wrote: >> Would it be prudent to rid the long-standing "argument" (pun >> unintended) about self and the ulterior spellings of it, by changing >> it into a symbol rather than a name? >> >> Something like: >> >> class MyClass(object): >> >> def __init__(@): >> @.dummy = None > > Believe or not, python3 (via Guido's time machine) already anticipated > this suggestion and you can indeed use a symbol instead of 'self': > > class MyClass(object): > > def __init__(ስ): > ስ.dummy = None > Apart from breaking all the tools that rely on "self" being spelt "self" this looks like an excellent idea. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence