Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.038 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'python,': 0.02; 'friday,': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'none.': 0.16; 'procedure?': 0.16; 'subject:between': 0.16; 'subject:tasks': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'chris': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; 'fri,': 0.33; 'subject:the': 0.34; 'received:google.com': 0.35; 'subject:?': 0.36; 'pm,': 0.38; 'simply': 0.61; 'stand': 0.64; 'teaching': 0.64; 'it!': 0.67; 'special': 0.74; '2015': 0.84; 'concept.': 0.84; 'procedure,': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=QRxVBl28+V2STkVgz4ebbX9WQpIZdONT/PFZ8CC/b9s=; b=QdcF8yJZZWLpwpxacZIF9kalwUyI13rnQoFrO8Z2ojLTAi1Phto/EAgvk6vFMsiWZn ObN7iuDNhOGi5Xzq9xYmr38yDXKibR2L8cPV4hT2BhOxLMp1yJ5XajiqmFEPfRyDSghQ WFrpfJKkQ8B/ZB7JJKeNIjyrPpkan6ALXxlSzLSyWe4RqfbjG8sX55zBTNoci+fITGsp +Hr/mDOqnByVhoZ7GS8u//MgCUnU5b+NFVzon39+DIO7hEzzfhHuzQQEFXKDExFL3hWk Go7moxHR2dFllnAYY0120q8HawGbDAkOU1OIVcwq5ggtInbVBv+yK0saNZmsmMHcwcf5 aPGQ== MIME-Version: 1.0 X-Received: by 10.107.16.32 with SMTP id y32mr2968578ioi.53.1431067344957; Thu, 07 May 2015 23:42:24 -0700 (PDT) In-Reply-To: References: <344fd8f6-75c1-4b7d-888d-c5c9d4498ec3@googlegroups.com> <878ud27waw.fsf@elektro.pacujo.net> <4ea2d5ac-8c19-4a53-9a09-fe6dbe4a52bd@googlegroups.com> <5549ab43$0$11108$c3e8da3@news.astraweb.com> Date: Fri, 8 May 2015 16:42:24 +1000 Subject: Re: asyncio: What is the difference between tasks, futures, and coroutines? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431067347 news.xs4all.nl 2891 [2001:888:2000:d::a6]:55814 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90121 On Fri, May 8, 2015 at 4:36 PM, Rustom Mody wrote: > On Friday, May 8, 2015 at 10:39:38 AM UTC+5:30, Chris Angelico wrote: >> Why have the concept of a procedure? > > On Friday, Chris Angelico ALSO wrote: >> With print(), you have a conceptual procedure... > > So which do you want to stand by? A procedure, in Python, is simply a function which returns None. That's all. It's not any sort of special concept. It doesn't need to be taught. If your students are getting confused by it, stop teaching it! ChrisA