Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!feeder1.cambriumusenet.nl!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '2.x': 0.05; 'arguments': 0.05; 'sep': 0.07; 'used.': 0.07; '3.x': 0.09; 'callable': 0.09; 'subject:Function': 0.09; 'tuple': 0.09; 'url:dev': 0.09; 'writable': 0.09; '25,': 0.12; 'am,': 0.14; 'wrote:': 0.14; '2.5.1': 0.16; 'attributes:': 0.16; 'benjamin': 0.16; 'defaults,': 0.16; 'jython': 0.16; 'url:html)': 0.16; 'argument': 0.16; 'header :In-Reply-To:1': 0.22; 'mon,': 0.22; 'values': 0.23; 'received:209.85.214.174': 0.23; 'received:mail- iw0-f174.google.com': 0.23; 'message-id:@mail.gmail.com': 0.28; 'daniel': 0.29; 'skip:( 20': 0.31; "skip:' 10": 0.32; 'to:addr :python-list': 0.32; 'url:docs': 0.33; 'feature': 0.36; 'none': 0.36; 'received:209.85': 0.37; 'url:python': 0.37; 'apr': 0.38; 'received:google.com': 0.38; 'url:org': 0.38; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'containing': 0.40; 'header:Received:5': 0.40; 'best': 0.60; '2011': 0.62; 'special': 0.66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=aIE/MIJ7NYdyAuHjYf0BzEfb8UVz8yTXUeo2p5rfshI=; b=aq9+3jt8V/S4XyplbWUYiniWcQDIevPmwNvWceU/qeOryRZ+8NOQg1ta7vX+Vnutk6 T73aOLIH1+RwIKQsPj2w3OV2TdBviLK5auPfHQJFXQiafasNoEBQH6i/lVJDCW0rsSC2 NAW6W6/LkmvbG2bxkMh0gN/kPfDZlOHafCA4g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YfeAQ0U8/VrNyKNAQcm5KIn+Z23JwkKJvV3XzMZitNlCJpciqcF/+oMPuhCOkMQWXN VmK7f+EsDwcYnQJbA5FyJgND7babs8vdBYgU3aHNyELOfvdlq5XoscI58XlRapIyAgS+ TMwX+Q3Mbsv+RIQC8GjSdKMFJFc8PhlssTz4E= MIME-Version: 1.0 In-Reply-To: <4db3f444$0$29978$c3e8da3$5496439d@news.astraweb.com> References: <4db3f444$0$29978$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 25 Apr 2011 04:18:09 +1100 Subject: Re: Function __defaults__ From: Daniel Kluev To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 22 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303665493 news.xs4all.nl 41110 [::ffff:82.94.164.166]:55785 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3957 http://docs.python.org/dev/reference/datamodel.html Callable types ... Special attributes: ... __defaults__ A tuple containing default argument values for those arguments that have defaults, or None if no arguments have a default value Writable I don't see any 'implementation detail' mark there, and 'Writable' IMHO means it can be used. On Mon, Apr 25, 2011 at 4:02 AM, Benjamin Kaplan wrote: > Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54) In 2.x it was func_defaults (http://docs.python.org/reference/datamodel.html) __defaults__ is 3.x feature -- With best regards, Daniel Kluev