Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'void': 0.04; 'somewhere': 0.11; '"bad': 0.16; 'pyobject': 0.16; 'subject:() ': 0.16; 'static': 0.16; 'header:In-Reply-To:1': 0.22; 'skip:p 30': 0.29; 'skip:* 20': 0.29; 'break;': 0.31; 'to:addr:python-list': 0.32; '...': 0.32; 'sorry': 0.33; 'module': 0.33; 'header:User-Agent:1': 0.35; 'hello,': 0.36; 'case': 0.37; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'received:86': 0.60; 'received:hu': 0.84 X-Spam-Score: -1.345 X-Spam-Level: X-Spam-Status: No, score=-1.345 tagged_above=-20 required=4 tests=[AWL=0.024, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RDNS_NONE=0.1] Date: Tue, 26 Apr 2011 13:17:39 +0200 From: =?utf-8?Q?Heged=C3=BCs?= Ervin To: python-list@python.org Subject: Re: Py_INCREF() incomprehension References: <20110426110112.GA4275@arxnet.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20110426110112.GA4275@arxnet.hu> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 23 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303816439 news.xs4all.nl 81485 [::ffff:82.94.164.166]:39538 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4032 hello, sorry for the typo, these are many "cibcrypt" reference, this is the real name of my module - I just replaced it somewhere to "mycrypt" - and somewhere I forgot... :( > ... > static PyObject *cibcrypt_error_badparm; > ... > > void handle_err(int errcode) { > switch(errcode) { > ... > case -4: PyErr_SetString(cibcrypt_error_badparm, "Bad parameter"); > break; bye: a.