Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'class,': 0.07; 'suppose': 0.07; 'arguments': 0.09; 'caller': 0.09; 'subject:usage': 0.16; 'all,': 0.19; 'function': 0.29; 'url:python': 0.33; 'skip:s 30': 0.35; 'yours,': 0.36; 'url:org': 0.36; 'thank': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'such': 0.63; 'dear': 0.65 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pahlevanzadeh.org; s=default; h=Content-Transfer-Encoding:Mime-Version:Content-Type:Date:To:From:Subject:Message-ID; bh=uVyTZV7yRPbDRmlTum50dyeUGSvggMR5wzEGySbkZ/c=; b=JqSPFsMxvq+qpt89MTy47xrrv55Kn90AWYxvX2oLMyruNz0/NjULK4uuGyXb49bfIy/5pWq2f6ndxaUZ27LwZ/lTPebIqdMNubK3LM04Wr5AL7/9ASwp/rWh4BT+wGfl3zIKFDMWwkIicUbmGmYlqtFHoS12/bjAJudUZm7oChM=; Subject: functools and objective usage From: Mohsen Pahlevanzadeh To: python-list@python.org Date: Wed, 23 Oct 2013 01:26:29 +0330 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.5-2+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - part7.royal-servers.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pahlevanzadeh.org X-Get-Message-Sender-Via: part7.royal-servers.com: authenticated_id: mohsen@pahlevanzadeh.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382479015 news.xs4all.nl 15871 [2001:888:2000:d::a6]:47281 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57318 Dear all, Suppose i have function name, 3 arguments for it, and object of its caller such as self.blahbalah So: my function is: self.blahblah.name(arg1,arg2,arg3) I read functools documentations, may be objictive usage and functionality differ, Do you have experience with objective usage ? http://docs.python.org/2/library/functools.html#partial-objects I need to use it in my class, Thank you, Yours, Mohsen