Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'complicate': 0.09; 'function,': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'bug': 0.12; 'language.': 0.14; 'generator.': 0.16; 'of)': 0.16; 'patches': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:generator': 0.16; 'throw': 0.16; 'tomato': 0.16; 'language': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'python?': 0.22; 'header:User-Agent:1': 0.23; 'lets': 0.24; 'suggested': 0.26; 'subject:/': 0.26; 'header:X-Complaints- To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'url:python': 0.33; 'maybe': 0.34; "can't": 0.35; 'something': 0.35; 'consistent': 0.36; "i'll": 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; "couldn't": 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'march': 0.61; 'no.': 0.61; 'url:3': 0.61; 'our': 0.64; 'charset:windows-1252': 0.65; 'bothered': 0.68; 'url:4': 0.69; '2015': 0.84; 'notion': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: generator/coroutine terminology Date: Tue, 17 Mar 2015 03:25:00 +0000 References: <874mpnp6nv.fsf@elektro.pacujo.net> <87y4mznmj8.fsf@elektro.pacujo.net> <55062bda$0$12998$c3e8da3$5496439d@news.astraweb.com> <87egopmn4z.fsf@elektro.pacujo.net> <55069623$0$12901$c3e8da3$5496439d@news.astraweb.com> <87vbi1qg0t.fsf@elektro.pacujo.net> <7cf04117-0fd5-40fb-bcaf-351353afc68b@googlegroups.com> <5506dd28$0$12975$c3e8da3$5496439d@news.astraweb.com> <6b2db06c-32b3-441d-b780-a16c4dfbf983@googlegroups.com> <6fbad705-a4a6-46fd-9344-1e9b473e89b0@googlegroups.com> <7486418e-ac02-4c83-ab7d-630103cc86c9@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-223-15.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <7486418e-ac02-4c83-ab7d-630103cc86c9@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 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: 1426562710 news.xs4all.nl 2880 [2001:888:2000:d::a6]:49184 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:87609 On 17/03/2015 03:18, Rustom Mody wrote: > On Tuesday, March 17, 2015 at 8:37:25 AM UTC+5:30, Mark Lawrence wrote: >>> >>> Ok Let me throw out a suggestion: >>> - potato is a generator >>> - tomato is a cursor. >>> Acceptable? >>> >> >> No. In Python potato is a generator function, tomato is a generator. >> Why complicate something that is so simple? I couldn't care less what >> they are called in any other language. > > Ok so lets see... > https://docs.python.org/3.4/tutorial/classes.html#generators > https://docs.python.org/3.4/glossary.html#term-generator > > Are these consistent with (your notion of) python? > Maybe they are "any other language"? > I'll already suggested you write the patches and put them on the bug tracker. If you can't be bothered please have the courtesy to stop bleating about it. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence