Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: Promoting Python Date: Wed, 06 Apr 2016 21:50:40 +0300 Organization: A noiseless patient Spider Lines: 20 Message-ID: <877fgalgfz.fsf@elektro.pacujo.net> References: <87h9ffgdtr.fsf@elektro.pacujo.net> <87zit6lt8q.fsf@elektro.pacujo.net> <87mvp6lhoy.fsf@elektro.pacujo.net> <1459968263.864845.571030425.6B84D3D8@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="b7cb1518d23ec19d482dcc9c31d30fdd"; logging-data="21553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xX90HDghNLv59WBI95ZvD" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:IQMnslDFoyWK8TKDMKtU/0wRe90= sha1:M54xqeX1u151mMrtkoicoBdwMiw= Xref: csiph.com comp.lang.python:106595 Random832 : > On Wed, Apr 6, 2016, at 14:23, Marko Rauhamaa wrote: >> Chris Angelico : >> > Plus, anyone could implement a Python interpreter with TCE. >> >> Tricky in practice because None is the default return value. >> >> If the programmer were careful to return the value of the tail call, >> it can be eliminated. > > Well, the interpreter can know that the calling function doesn't > return anything (returns None). Maybe it could pass a secret argument > to the called function telling it not to return its value and to > return None instead. Oh, I forgot about the secret whisper-with-a-wink channel... Marko