Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20266

Re: Guide to: Learning Python Decorators

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <dihedral88888@googlemail.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; 'languages,': 0.03; 'subject:Python': 0.05; 'python': 0.08; 'cool.': 0.09; 'decorator': 0.09; 'to:addr:comp.lang.python': 0.09; 'inherited': 0.16; 'subject:Guide': 0.16; 'cc:addr:python-list': 0.16; 'header :In-Reply-To:1': 0.22; 'cc:2**0': 0.26; 'classes': 0.26; 'books': 0.27; "i'm": 0.28; 'class': 0.29; 'print': 0.29; 'cc:addr:python.org': 0.29; 'decorators': 0.30; 'slow.': 0.30; 'from:addr:googlemail.com': 0.31; 'there': 0.33; 'header:User- Agent:1': 0.33; 'object': 0.33; 'elegant': 0.34; 'copying': 0.35; 'received:209.85.160': 0.36; 'received:google.com': 0.37; 'using': 0.37; "i'll": 0.38; 'received:209.85': 0.38; 'received:209': 0.39; 'follow': 0.61; 'more': 0.61; 'levels': 0.64; 'cutting': 0.73; 'skip:2 50': 0.91; 'reducing': 0.95
Newsgroups comp.lang.python
Date Sun, 12 Feb 2012 03:48:32 -0800 (PST)
In-Reply-To <mailman.5640.1328855534.27778.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=123.204.77.188; posting-account=5JdMBQoAAABHnS4mjpqEzxnmWtgiiVNw
References <476f8fff-9f08-4a54-8704-449cfaf6ad60@vv9g2000pbc.googlegroups.com> <CAJ6cK1b9Gd=3Bg4PMvMLN8U5KLnazXjcgXyqNgyRiRGXuFktNw@mail.gmail.com> <mailman.5640.1328855534.27778.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
MIME-Version 1.0
Subject Re: Guide to: Learning Python Decorators
From 88888 Dihedral <dihedral88888@googlemail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc Python-list <Python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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>
Message-ID <mailman.5722.1329047323.27778.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1329047323 news.xs4all.nl 6971 [2001:888:2000:d::a6]:53178
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20266

Show key headers only | View raw


在 2012年2月10日星期五UTC+8下午2时32分09秒,anon hung写道:
> >> Guide to: Learning Python Decorators
> >> New Book http://tinyurl.com/python-decorartor
> >
> > A whole book about decorators?  Cool. I'm going to start writing books to.
> > I'll start with 'The Python print statement'. Then to be cutting edge I'll
> > follow with 'The Python print function'.
> 
There are books about classes in other computer languages, too.
 
Using decorator is more elegant in reducing the class levels in applications.
Just deep  copying an object in more than 10 levels of an inherited class hiarchie is so slow.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Guide to: Learning Python Decorators sajuptpm <sajuptpm@gmail.com> - 2012-02-09 09:56 -0800
  Re: Guide to: Learning Python Decorators Terry Reedy <tjreedy@udel.edu> - 2012-02-09 15:28 -0500
  Re: Guide to: Learning Python Decorators Ian <hobson42@gmail.com> - 2012-02-09 22:43 +0000
  Re: Guide to: Learning Python Decorators Terry Reedy <tjreedy@udel.edu> - 2012-02-09 22:22 -0500
    Re: Guide to: Learning Python Decorators sajuptpm <sajuptpm@gmail.com> - 2012-02-09 22:20 -0800
  Re: Guide to: Learning Python Decorators anon hung <anonhung@gmail.com> - 2012-02-10 07:32 +0100
    Re: Guide to: Learning Python Decorators 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-12 03:48 -0800
    Re: Guide to: Learning Python Decorators 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-12 03:48 -0800
  Re: Guide to: Learning Python Decorators 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-10 00:11 -0800
    Re: Guide to: Learning Python Decorators Jack Diederich <jackdied@gmail.com> - 2012-02-12 04:04 -0500

csiph-web