Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #112316
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: can't add variables to instances of built-in classes |
| Date | Thu, 4 Aug 2016 13:00:34 +1000 |
| Lines | 14 |
| Message-ID | <mailman.159.1470280024.6033.python-list@python.org> (permalink) |
| References | <4f796d95-0e87-4610-a0a8-1eff07c60ace@googlegroups.com> <nmfqrg$ea7$1@ger.gmane.org> <mailman.63.1468755660.2307.python-list@python.org> <b24bede0-be29-4c45-856e-90e6a63c99d0@googlegroups.com> <578b9e62$0$22141$c3e8da3$5496439d@news.astraweb.com> <3e934f83-2076-407d-b85b-686ecdec6ff8@googlegroups.com> <nmi127$r0e$1@ger.gmane.org> <mailman.70.1468827536.2307.python-list@python.org> <2bc29306-ac90-4424-84c2-64be494c5a75@googlegroups.com> <bff64f31-d618-4d47-a81b-aa817db8c456@googlegroups.com> <230d1aff-b1a3-4f16-b9a6-b5d9fd07e4b4@googlegroups.com> <62dd86d4-74f7-4e97-a29c-7e45aced77d9@googlegroups.com> <f988e9a1-beba-41f3-bd11-8ed4c7a69a81@googlegroups.com> <CAPTjJmrup=D9pP5buOytY7x1zQYC6Nh-R=WkaXcJBAfbD+_JJA@mail.gmail.com> <mailman.1.1468995572.22221.python-list@python.org> <cadcdba3-61a0-4803-afc5-894d8de4f0cc@googlegroups.com> <nmn92l$4jh$1@ger.gmane.org> <mailman.3.1468999586.22221.python-list@python.org> <18acf908-b761-4a60-8d7c-5e4576b03320@googlegroups.com> <nmnfgf$697$1@ger.gmane.org> <mailman.4.1469006175.22221.python-list@python.org> <d633242c-7aca-485d-9daa-9008640a6f46@googlegroups.com> <CAPTjJmpPMidJCmhB_D6UAY0Jze_oKgNRkp=RZ3xD_a6AVzsD4Q@mail.gmail.com> <mailman.13.1469068181.22221.python-list@python.org> <c4b6e08d-a38b-4404-8bc3-b0ed97a6c48e@googlegroups.com> <CAPTjJmrSnuX5_q6wZutTiPRhokxQHmHPGrL+q+ebWVCyog2+AA@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de 8PnnlZGSJT3OX9+nsj5zWg+kkb6OGshdEnMVKa33Ogow== |
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; '21,': 0.07; 'cc:addr :python-list': 0.09; 'python': 0.10; 'thursday,': 0.13; 'thu,': 0.15; '2016': 0.16; '__slots__': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'scare': 0.16; 'wrote:': 0.16; 'basically': 0.18; 'featured': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'java': 0.22; 'lawrence': 0.22; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'message- id:@mail.gmail.com': 0.27; 'objects': 0.29; 'code': 0.30; 'received:google.com': 0.35; 'level': 0.35; 'pm,': 0.36; 'subject:: ': 0.37; 'takes': 0.39; 'subject:-': 0.39; 'your': 0.60; 'chrisa': 0.84; 'to:none': 0.91; 'subject:add': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-transfer-encoding; bh=aZZRQeMayQnIKNn9QnDIcQR1egH9eUal5wa2RallkA8=; b=wVljr+Io2P1VDgJGMBiQjX+yNqRQXwczeamPvfEAEuV+ezark9RHuuo+8P5Ytk84t6 Zf4vKDEzTHxp143ZOIqcDRA9QfVd8fTlJGCl+04VbJZnvH5vhWUvjF5elB5OW4sQzFO/ vX29Hi5W96k9I1zvRdrd7RH6aqKwDjdzTHsK9zA+QD7EMm6l7bbcuKQXJCmpKDugVLFb edAVqG6a5zejJUmjL9PMAsZGo2egOQXqGyZUeE762HlCgFaxPPGrd8cS1ikG8dCdjhPX l8fb/X6qZVls0ieBg1TphvM6gkz9mgEREBEeRYY09q/C+JJfO2qdAKohCm6mHU6xNfNC tT7Q== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc:content-transfer-encoding; bh=aZZRQeMayQnIKNn9QnDIcQR1egH9eUal5wa2RallkA8=; b=jMXiP1NV6jC26hF9Sn2H/0pNMUe/In1UWRXlJFFi6BOBUFlj2Frvc+ewG8mip+qjfw XO4bRJ+PheHpNkD0kAkZMcFhbHcaRw1X2SRuvUDDXGjjTSJ234SCALxv/NLeV3NOp6n+ amZZDLWDrmtYZn0NC/uHzUq9E4NlQYd7GGwqw+OtyN/GrZItP6QqjNevRpC/34yddhz8 z2XVo1J6yjAzBZsoCWxbeooN+o1RBz8sXsWF7G3uzjEMBPMx7JvR0m9yLxuHHxwPivbE yo3NzB0Q/x2tskcIAAne1v1WWhRJin0SQR/Ih4HFzFBBmNCuXPgBomzytolc4ZX7w2Sb 73uw== |
| X-Gm-Message-State | AEkooutPrWz+2cqoRuUONC9wMQHDoJ46JePQI+9fwg5RpuBiAMoi48wHw6dllIn/3KHD0t1bEFNBitic+VsO3Q== |
| X-Received | by 10.28.38.196 with SMTP id m187mr26201343wmm.81.1470279635551; Wed, 03 Aug 2016 20:00:35 -0700 (PDT) |
| In-Reply-To | <c4b6e08d-a38b-4404-8bc3-b0ed97a6c48e@googlegroups.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| 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> |
| X-Mailman-Original-Message-ID | <CAPTjJmrSnuX5_q6wZutTiPRhokxQHmHPGrL+q+ebWVCyog2+AA@mail.gmail.com> |
| X-Mailman-Original-References | <4f796d95-0e87-4610-a0a8-1eff07c60ace@googlegroups.com> <nmfqrg$ea7$1@ger.gmane.org> <mailman.63.1468755660.2307.python-list@python.org> <b24bede0-be29-4c45-856e-90e6a63c99d0@googlegroups.com> <578b9e62$0$22141$c3e8da3$5496439d@news.astraweb.com> <3e934f83-2076-407d-b85b-686ecdec6ff8@googlegroups.com> <nmi127$r0e$1@ger.gmane.org> <mailman.70.1468827536.2307.python-list@python.org> <2bc29306-ac90-4424-84c2-64be494c5a75@googlegroups.com> <bff64f31-d618-4d47-a81b-aa817db8c456@googlegroups.com> <230d1aff-b1a3-4f16-b9a6-b5d9fd07e4b4@googlegroups.com> <62dd86d4-74f7-4e97-a29c-7e45aced77d9@googlegroups.com> <f988e9a1-beba-41f3-bd11-8ed4c7a69a81@googlegroups.com> <CAPTjJmrup=D9pP5buOytY7x1zQYC6Nh-R=WkaXcJBAfbD+_JJA@mail.gmail.com> <mailman.1.1468995572.22221.python-list@python.org> <cadcdba3-61a0-4803-afc5-894d8de4f0cc@googlegroups.com> <nmn92l$4jh$1@ger.gmane.org> <mailman.3.1468999586.22221.python-list@python.org> <18acf908-b761-4a60-8d7c-5e4576b03320@googlegroups.com> <nmnfgf$697$1@ger.gmane.org> <mailman.4.1469006175.22221.python-list@python.org> <d633242c-7aca-485d-9daa-9008640a6f46@googlegroups.com> <CAPTjJmpPMidJCmhB_D6UAY0Jze_oKgNRkp=RZ3xD_a6AVzsD4Q@mail.gmail.com> <mailman.13.1469068181.22221.python-list@python.org> <c4b6e08d-a38b-4404-8bc3-b0ed97a6c48e@googlegroups.com> |
| Xref | csiph.com comp.lang.python:112316 |
Show key headers only | View raw
On Thu, Aug 4, 2016 at 12:34 PM, Lawrence D’Oliveiro <lawrencedo99@gmail.com> wrote: > On Thursday, July 21, 2016 at 2:29:53 PM UTC+12, Chris Angelico wrote: > >> Using __slots__ basically takes your object down to the level of a >> Java one. > > Is Java like a bogeyman you use to scare people with if they don’t write Python code the way you like it? LOL! Not really; it's just that Java's objects are way less featured than Python's. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
can't add variables to instances of built-in classes Kent Tong <kent.tong.mo@gmail.com> - 2016-07-17 03:57 -0700
Re: can't add variables to instances of built-in classes Peter Otten <__peter__@web.de> - 2016-07-17 13:40 +0200
Re: can't add variables to instances of built-in classes Wilson Ong <wilsonokw@gmail.com> - 2016-07-17 04:50 -0700
Re: can't add variables to instances of built-in classes Chris Angelico <rosuav@gmail.com> - 2016-07-17 22:02 +1000
Re: can't add variables to instances of built-in classes Steven D'Aprano <steve@pearwood.info> - 2016-07-18 01:04 +1000
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-17 20:00 -0700
Re: can't add variables to instances of built-in classes Peter Otten <__peter__@web.de> - 2016-07-18 09:38 +0200
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-18 14:48 -0700
Re: can't add variables to instances of built-in classes breamoreboy@gmail.com - 2016-07-18 16:12 -0700
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-18 19:53 -0700
Re: can't add variables to instances of built-in classes breamoreboy@gmail.com - 2016-07-19 14:24 -0700
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-19 16:58 -0700
Re: can't add variables to instances of built-in classes Chris Angelico <rosuav@gmail.com> - 2016-07-20 16:19 +1000
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-19 23:45 -0700
Re: can't add variables to instances of built-in classes Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-07-20 17:22 +1000
Re: can't add variables to instances of built-in classes Peter Otten <__peter__@web.de> - 2016-07-20 09:26 +0200
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-20 01:50 -0700
Re: can't add variables to instances of built-in classes Peter Otten <__peter__@web.de> - 2016-07-20 11:15 +0200
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-20 15:11 -0700
Re: can't add variables to instances of built-in classes Chris Angelico <rosuav@gmail.com> - 2016-07-21 12:29 +1000
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-08-03 19:34 -0700
Re: can't add variables to instances of built-in classes Chris Angelico <rosuav@gmail.com> - 2016-08-04 13:00 +1000
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-08-04 16:57 -0700
Re: can't add variables to instances of built-in classes Steven D'Aprano <steve@pearwood.info> - 2016-07-21 12:48 +1000
Re: can't add variables to instances of built-in classes Steven D'Aprano <steve@pearwood.info> - 2016-07-20 22:10 +1000
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-20 14:48 -0700
Re: can't add variables to instances of built-in classes breamoreboy@gmail.com - 2016-07-20 18:04 -0700
Re: can't add variables to instances of built-in classes Peter Otten <__peter__@web.de> - 2016-07-21 08:59 +0200
Re: can't add variables to instances of built-in classes Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-20 02:10 -0700
Re: can't add variables to instances of built-in classes Ethan Furman <ethan@stoneleaf.us> - 2016-07-18 06:10 -0700
Re: can't add variables to instances of built-in classes Kent Tong <kent.tong.mo@gmail.com> - 2016-07-17 04:53 -0700
csiph-web