Message166601
| Author |
pitrou |
| Recipients |
alexandre.vassalotti, belopolsky, benjamin.peterson, bpb, brett.cannon, ehuss, facundobatista, fmitha, georg.brandl, gvanrossum, jafo, jaraco, jarpa, kylev, loewis, lukasz.langa, nnorwitz, pitrou, sbt, taleinat, tseaver, vstinner, zbysz, zseil |
| Date |
2012年07月27日.19:12:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1343416218.3352.1.camel@localhost.localdomain> |
| In-reply-to |
<1343415641.48.0.990413575644.issue1692335@psf.upfronthosting.co.za> |
| Content |
> But won't self->args point to a broken object while any callbacks triggered by Py_XDECREF() are run?
>
> An alternative would be
>
> tmp = self->args;
> self->args = args;
> Py_INCREF(self->args);
> Py_XDECREF(tmp);
You are right, that's better. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年07月27日 19:12:29 | pitrou | set | recipients:
+ pitrou, gvanrossum, loewis, nnorwitz, brett.cannon, georg.brandl, facundobatista, jafo, ehuss, tseaver, jaraco, belopolsky, zseil, fmitha, vstinner, taleinat, alexandre.vassalotti, benjamin.peterson, jarpa, bpb, zbysz, kylev, lukasz.langa, sbt |
| 2012年07月27日 19:12:28 | pitrou | link | issue1692335 messages |
| 2012年07月27日 19:12:28 | pitrou | create |
|