Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86606
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'operator': 0.03; 'subject:Python': 0.06; 'class,': 0.07; 'indicating': 0.07; 'socket': 0.07; 'string': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'string,': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'created': 0.35; 'received:google.com': 0.35; 'error.': 0.37; 'example,': 0.37; 'being': 0.38; 'pm,': 0.38; 'success': 0.61; '2015': 0.84; 'subject:Practices': 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=lah2BnSLmPVf77nrOjW8ecfLNW5z/E0v2wtcKYyryu4=; b=aQrOt4NIDx4493MVhmgzdx6hrNN3sjypkBYrtQ3KebtyG+giPegTxwujVYeNoTSjsb xmKfPUwxy2C2eY7SUeclw3/q5Nfor/GBAIHnvot84z+LmVZLHwzr+kbATCGYNSsfnTQ7 1NqLKy+M6x+Y6Zk0gHsxOqZ0th7PXC+7pXNy2xh40bqj1RCVhGjHeVRRS3cKfe1W9pPR 3D2nE3JYoVrNDlGGdiqWsCPH1rxa+jbe1Bct7vFUIZJmIlkkkLfQQQcIdp/h9ffSsrb5 /DcUokd2/o8tgwFNVeYjgefH5EGGYk6gTU29txUnTyyD7/cruUWUe+RCM8r3uZtA9bGW TTAw== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.114.4 with SMTP id jc4mr7012782igb.14.1425087884836; Fri, 27 Feb 2015 17:44:44 -0800 (PST) |
| In-Reply-To | <d975f577-03e4-4125-97ee-853a8e177e0f@googlegroups.com> |
| References | <mclca6$iie$1@ger.gmane.org> <mailman.19318.1425072098.18130.python-list@python.org> <54f1154c$0$12985$c3e8da3$5496439d@news.astraweb.com> <d975f577-03e4-4125-97ee-853a8e177e0f@googlegroups.com> |
| Date | Sat, 28 Feb 2015 12:44:44 +1100 |
| Subject | Re: Python Worst Practices |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.19327.1425087893.18130.python-list@python.org> (permalink) |
| Lines | 8 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1425087893 news.xs4all.nl 2932 [2001:888:2000:d::a6]:39951 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3480 |
| X-Received-Body-CRC | 2358076328 |
| Xref | csiph.com comp.lang.python:86606 |
Show key headers only | View raw
On Sat, Feb 28, 2015 at 12:32 PM, <sohcahtoa82@gmail.com> wrote: > For example, I've seen someone create a Socket class, then created an operator overload that allowed you to "add" a string to your socket to make the socket send the string, with the result being a status code indicating success or an error. > Why not left shift the socket by that string, the result being the original socket? At least that has precedent... ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Python Worst Practices Travis Griggs <travisgriggs@gmail.com> - 2015-02-27 13:21 -0800
Re: Python Worst Practices Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-28 12:09 +1100
Re: Python Worst Practices sohcahtoa82@gmail.com - 2015-02-27 17:32 -0800
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-28 12:44 +1100
Re: Python Worst Practices Christian Gollwitzer <auriocus@gmx.de> - 2015-03-03 09:51 +0100
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-03-03 22:12 +1100
Re: Python Worst Practices Christian Gollwitzer <auriocus@gmx.de> - 2015-03-03 23:46 +0100
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-03-04 10:12 +1100
Re: Python Worst Practices Christian Gollwitzer <auriocus@gmx.de> - 2015-03-04 21:27 +0100
Re: Python Worst Practices Dan Sommers <dan@tombstonezero.net> - 2015-02-28 04:42 +0000
Re: Python Worst Practices Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-02-28 17:36 +1100
Re: Python Worst Practices Dan Sommers <dan@tombstonezero.net> - 2015-02-28 07:50 +0000
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-28 19:55 +1100
Re: Python Worst Practices Ethan Furman <ethan@stoneleaf.us> - 2015-02-27 23:51 -0800
Re: Python Worst Practices Marko Rauhamaa <marko@pacujo.net> - 2015-02-28 10:50 +0200
Re: Python Worst Practices Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-28 01:48 -0700
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-28 19:58 +1100
Re: Python Worst Practices Tim Chase <python.list@tim.thechases.com> - 2015-02-27 21:50 -0600
Re: Python Worst Practices Cousin Stanley <cousinstanley@gmail.com> - 2015-02-28 09:03 -0700
Re: Python Worst Practices Rustom Mody <rustompmody@gmail.com> - 2015-02-28 08:16 -0800
Re: Python Worst Practices MRAB <python@mrabarnett.plus.com> - 2015-02-28 17:56 +0000
Re: Python Worst Practices Ethan Furman <ethan@stoneleaf.us> - 2015-02-28 10:13 -0800
Re: Python Worst Practices Tim Chase <python.list@tim.thechases.com> - 2015-02-28 12:30 -0600
Re: Python Worst Practices Tim Chase <python.list@tim.thechases.com> - 2015-02-28 12:39 -0600
Re: Python Worst Practices BartC <bc@freeuk.com> - 2015-02-28 10:39 +0000
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-28 23:45 +1100
Re: Python Worst Practices Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-03-01 13:29 +1300
csiph-web