Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96106
| Path | csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail |
|---|---|
| Return-Path | <antoon.pardon@rece.vub.ac.be> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'pycon': 0.03; 'anyway.': 0.04; 'subject:Python': 0.05; 'guido': 0.05; 'received:134': 0.05; 'reject': 0.05; 'indicated': 0.07; 'keynote': 0.07; 'objects,': 0.07; 'essential.': 0.09; 'indication': 0.09; 'lemburg,': 0.09; 'python': 0.10; 'conditional': 0.16; 'expression.': 0.16; 'it".': 0.16; 'marc-andr\xc3\xa9': 0.16; 'poll': 0.16; 'prefered': 0.16; 'received:ac.be': 0.16; 'wrote:': 0.16; 'programmer': 0.18; '>>>': 0.20; 'bit': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'van': 0.26; 'switch': 0.27; 'least': 0.27; 'pep': 0.29; 'url:peps': 0.29; 'there.': 0.30; 'e.g.': 0.30; 'received:be': 0.30; 'table': 0.32; 'url:python': 0.33; 'michael': 0.33; 'similar': 0.33; 'add': 0.34; 'could': 0.35; 'url:dev': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'say': 0.37; 'support,': 0.37; '2007': 0.38; 'several': 0.38; "didn't": 0.39; 'enough': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'still': 0.40; 'chance': 0.60; 'here.': 0.62; 'here': 0.66; 'therefore': 0.67; 'idiomatic': 0.84; 'pardon': 0.84; 'schreef': 0.84; 'several)': 0.84; 'colour': 0.91; 'thing,': 0.93 |
| X-IronPort-Anti-Spam-Filtered | true |
| X-IronPort-Anti-Spam-Result | AlsFAPCi7lWGuA9G/2dsb2JhbABdg3dEASSDJLwEhXkCggMBAQEBAQGFLwEBBCMPAUURCxgCAgUWCwICCQMCAQIBRRMGAgKIFQMSDbUXjw0MSIRBAQsBGwSBIoVRhHuFExeCUoFDBYc3hm2HMYpJgjGBTBWHCzKRWSaCEByBVm+ISQEBAQ |
| Date | Tue, 08 Sep 2015 10:59:01 +0200 |
| From | Antoon Pardon <antoon.pardon@rece.vub.ac.be> |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.8.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Python handles globals badly. |
| References | <c3363$547e74fe$5419aafe$24179@news.ziggo.nl> <4602a32c-5109-47dd-95bb-b9723738f07f@googlegroups.com> <55E8E09A.3080309@gmail.com> <msapn9$5aa$1@ger.gmane.org> |
| In-Reply-To | <msapn9$5aa$1@ger.gmane.org> |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.205.1441702743.8327.python-list@python.org> (permalink) |
| Lines | 35 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1441702743 news.xs4all.nl 23865 [2001:888:2000:d::a6]:44413 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:96106 |
Show key headers only | View raw
Op 04-09-15 om 02:47 schreef Mark Lawrence: > On 04/09/2015 01:06, Michael Torrie wrote: >> On 09/03/2015 01:05 PM, tdev@freenet.de wrote: >> >>> [The same e.g. with switch statement: add it] >> >> Switch is a nice-to-have thing, but definitely not essential. A PEP here >> (probably already has been several) would at least be read anyway. >> However, there are several idiomatic ways of accomplishing the same >> thing that are often good enough and familiar to any Python programmer >> out there. Since functions are first-class objects, often a dispatch >> table is the best way to go here. >> > > https://www.python.org/dev/peps/pep-3103/ "A Switch/Case Statement" by > Guido van Rossum, "Rejection Notice - A quick poll during my keynote > presentation at PyCon 2007 shows this proposal has no popular support. > I therefore reject it". > > https://www.python.org/dev/peps/pep-0275/ "Switching on Multiple > Values" by Marc-André Lemburg, "Rejection Notice - A similar PEP for > Python 3000, PEP 3103 [2], was already rejected, so this proposal has > no chance of being accepted either." > Were those polls, like the poll he once did for the condtional expression? There the poll indicated no specific proposal had a majority, so for each specific proposal one could say it didn't have popular support, but the majority still prefered to have a conditional expression. But at that time Guido used that poll as an indication there was not enough support. So colour me a bit sceptical when Guido comes with such a poll. -- Antoon Pardon
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Python handles globals badly. tdev@freenet.de - 2015-09-03 12:05 -0700
Re: Python handles globals badly. Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-03 13:47 -0600
Re: Python handles globals badly. Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-03 13:51 -0600
Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-03 23:13 +0100
Re: Python handles globals badly. Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-03 16:45 -0600
Re: Python handles globals badly. Michael Torrie <torriem@gmail.com> - 2015-09-03 18:06 -0600
Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-04 01:47 +0100
Re: Python handles globals badly. Steven D'Aprano <steve@pearwood.info> - 2015-09-04 12:27 +1000
Re: Python handles globals badly. Steven D'Aprano <steve@pearwood.info> - 2015-09-04 12:33 +1000
Re: Python handles globals badly. Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-09-08 11:07 +0200
Re: Python handles globals badly. Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-09-08 10:59 +0200
Re: Python handles globals badly. Steven D'Aprano <steve@pearwood.info> - 2015-09-09 13:27 +1000
Re: Python handles globals badly. Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-08 23:08 -0600
Re: Python handles globals badly. Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-09-09 17:04 +0200
Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-09 17:46 +0100
Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-08 10:22 +0100
Re: Python handles globals badly. Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2015-09-08 11:59 +0200
Re: Python handles globals badly. Laura Creighton <lac@openend.se> - 2015-09-08 12:07 +0200
csiph-web