Article View: pl.comp.lang.python
Article #26952Re: Python3,c-api,PyUnicode_Decode - niszczy wskaźnik?
From: kenubi
Date: Thu, 19 Nov 2009 10:14
Date: Thu, 19 Nov 2009 10:14
8 lines
1207 bytes
1207 bytes
kenubi wrote: > s = PyBytes_AsString(temp); > Py_DECREF(temp); OK, zapomiałem a dokumentacja przypomniała, że jest zwracany wskaźnik do wewnętrznego bufora (tu obiektu temp) a ja go zaraz potem "niszczę" (DECREF). Także nowy dzień, świeże spojrzenie, rozwiązało problem.
Technical Details
Message-ID:
<he35v2$gvu$1@atlantis.news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.neostrada.pl!nemesis.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mailReferences:
<he1ak3$p68$1@nemesis.news.neostrada.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.neostrada.pl!nemesis.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail From: kenubi <nono@no.pl> Newsgroups: pl.comp.lang.python Subject: Re: Python3,c-api,PyUnicode_Decode - niszczy wskaźnik? Followup-To: pl.comp.lang.python Date: Thu, 19 Nov 2009 11:14:49 +0100 Organization: none Lines: 12 Message-ID: <he35v2$gvu$1@atlantis.news.neostrada.pl> References: <he1ak3$p68$1@nemesis.news.neostrada.pl> NNTP-Posting-Host: alk134.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: atlantis.news.neostrada.pl 1258625826 17406 83.17.40.134 (19 Nov 2009 10:17:06 GMT) X-Complaints-To: usenet@news.neostrada.pl NNTP-Posting-Date: Thu, 19 Nov 2009 10:17:06 +0000 (UTC) User-Agent: KNode/4.3.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit