Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44659
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <titanix88@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.017 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'python.': 0.02; 'cc:addr :python-list': 0.11; 'python': 0.11; 'beaten': 0.16; 'lambda': 0.16; 'subject: \n ': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'subject:python': 0.16; 'language': 0.16; 'code.': 0.18; 'solution.': 0.20; 'work,': 0.20; 'cc:addr:python.org': 0.22; 'decorators': 0.24; 'issue,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'developers': 0.25; 'class.': 0.26; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'message- id:@mail.gmail.com': 0.30; 'extensively': 0.31; 'up.': 0.33; 'subject:with': 0.35; 'problem.': 0.35; 'late': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'thanks': 0.36; 'should': 0.36; 'level': 0.37; 'needed': 0.38; 'does': 0.39; 'solve': 0.60; 'took': 0.61; 'back': 0.62; 'address': 0.63; 'hours': 0.66; 'bottom': 0.67; 'subject:skip:A 10': 0.78; 'maybe,': 0.84; 'clearing': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=ebIx16+HbhrfvlnyuPSDH2Oeex+WURCiz8OQMz3vp+g=; b=Y0jAsJFRW0HleHgLlqJB7jIpRg5zWpy8t5VebENOQRI6q19DFSTtfE7yilYy4zysxk 5YQbClXE8yRA0Kgt95w6EztxfnM3oS7mZYVcMcNp4BBnUVoeSG2kLY3S55gDsc0VI3ID /4W9kFW+a3LrzFA1fsvVy0MwKgVlnCzdNd01bwpOw2typFthGm10xZINBgJ0k56r71KP FLZEKWIMFAUtJEnRYd2W7eVf0/PfpFjWUWfcjsDyhujwjO+JDpAsRDMbYnl/y5f4FWGx 8A/KtMCkZwM22s+XXrwX7lWz6UCzU6kNULYB3IkivDqRuKedYKnqpf9e1c9sUYpClUdi xb9Q== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.25.233 with SMTP id f9mr12777091pbg.118.1367567543485; Fri, 03 May 2013 00:52:23 -0700 (PDT) |
| In-Reply-To | <518302d7$0$29971$c3e8da3$5496439d@news.astraweb.com> |
| References | <mailman.1257.1367537690.3114.python-list@python.org> <518302d7$0$29971$c3e8da3$5496439d@news.astraweb.com> |
| Date | Fri, 3 May 2013 13:52:23 +0600 |
| Subject | Re: Debugging difficulty in python with __getattr__, decorated properties and AttributeError. |
| From | "Mr. Joe" <titanix88@gmail.com> |
| To | "Steven D'Aprano" <steve+comp.lang.python@pearwood.info> |
| Content-Type | multipart/alternative; boundary=bcaec521569ba2c95304dbcba147 |
| Cc | python-list@python.org |
| 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 | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1265.1367567552.3114.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1367567552 news.xs4all.nl 15960 [2001:888:2000:d::a6]:44861 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44659 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Thanks for clearing up. Developers of python should address this issue, in my opinion. 3.4/3.5 maybe, but better late than never. Recently, I've been beaten back for using some exotic features of python. One is this[ Took me hours to get to the bottom ]. The other one is 'property' decorator. I was using it extensively until I needed to make a child class. Then I came to know that 'property' does not play well with polymorphic code. :( I resorted to some lambda hacks learned from stackoverflow.com to solve the problem. I know that it's the correct way for decorators to work, but still, it would be nice to have a language level solution.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Debugging difficulty in python with __getattr__, decorated properties and AttributeError. "Mr. Joe" <titanix88@gmail.com> - 2013-05-03 05:34 +0600
Re: Debugging difficulty in python with __getattr__, decorated properties and AttributeError. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-03 00:20 +0000
Re: Debugging difficulty in python with __getattr__, decorated properties and AttributeError. "Mr. Joe" <titanix88@gmail.com> - 2013-05-03 13:52 +0600
Re: Debugging difficulty in python with __getattr__, decorated properties and AttributeError. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-04 06:29 +0000
Re: Debugging difficulty in python with __getattr__, decorated properties and AttributeError. "Mr. Joe" <titanix88@gmail.com> - 2013-05-14 21:09 +0600
Re: Debugging difficulty in python with __getattr__, decorated properties and AttributeError. dieter <dieter@handshake.de> - 2013-05-15 08:15 +0200
Re: Debugging difficulty in python with __getattr__, decorated properties and AttributeError. "Mr. Joe" <titanix88@gmail.com> - 2013-05-15 22:38 +0600
Re: Debugging difficulty in python with __getattr__, decorated properties and AttributeError. dieter <dieter@handshake.de> - 2013-05-04 07:56 +0200
csiph-web