Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; '*not*': 0.05; 'subject:Python': 0.05; 'ah,': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'received:gator410.hostgator.com': 0.09; '~ethan~': 0.09; 'am,': 0.12; 'alex23': 0.16; 'docstrings': 0.16; 'kern': 0.16; 'wrote:': 0.18; '>>>': 0.18; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; 'cheers': 0.23; 'though.': 0.23; 'module': 0.26; 'function': 0.27; 'pm,': 0.29; 'seem': 0.30; 'url:library': 0.31; 'does': 0.32; 'header:User-Agent:1': 0.33; 'there': 0.33; 'to:addr:python-list': 0.34; 'url:python': 0.36; 'but': 0.37; 'some': 0.38; 'url:docs': 0.39; "i'd": 0.39; 'url:org': 0.39; 'to:addr:python.org': 0.40; 'received:websitewelcome.com': 0.64; 'received:184': 0.67; 'received:69.93': 0.67; 'care': 0.71; 'subject:!!!': 0.76; 'signature.': 0.84; 'received:69.93.164': 0.91 Date: Sun, 11 Dec 2011 23:47:54 -0800 From: Ethan Furman User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: python-list@python.org Subject: Re: I love the decorator in Python!!! References: <29996186.628.1323328726122.JavaMail.geo-discussion-forums@prfb7> <0aae460e-caf1-44ce-b228-e6943fc75b7f@24g2000prd.googlegroups.com> <82150b53-f1a5-432d-aae2-39bf6235be1b@d5g2000prf.googlegroups.com> In-Reply-To: <82150b53-f1a5-432d-aae2-39bf6235be1b@d5g2000prf.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator410.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: c-67-170-168-84.hsd1.or.comcast.net ([192.168.74.5]) [67.170.168.84]:2262 X-Source-Auth: ethan+stoneleaf.us X-Email-Count: 2 X-Source-Cap: dG9idWs7dG9idWs7Z2F0b3I0MTAuaG9zdGdhdG9yLmNvbQ== X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323679909 news.xs4all.nl 6922 [2001:888:2000:d::a6]:42788 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:17024 alex23 wrote: > On Dec 9, 8:08 pm, Robert Kern wrote: >> On 12/9/11 5:02 AM, alex23 wrote: >>> The 3rd party 'decorator' module takes care of issues like docstrings >>> & function signatures. I'd really like to see some of that >>> functionality in the stdlib though. >> Much of it is: >> >> http://docs.python.org/library/functools#functools.update_wrapper > > Ah, cheers :) Is that a recent addition? The lack of note makes it > seem like it was there from the beginning? Not sure how recent it is, but I do know it does *not* handle the signature. ~Ethan~