[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Python ceval.c,2.217,2.218
Fri, 12 Jan 2001 04:06:37 +0200 (IST)
On Thu, 11 Jan 2001 08:13:55 -0600 (CST), Skip Montanaro <firstname.lastname@example.org> wrote:
> While it works, is it really kosher to test w's value after the DECREF?
Yes. It may not point to anything valid, but it won't be NULL.
> Just seems like an odd construct to me. I'm used to seeing the test
> immediately after it's been set.
It was more convenient that way. And I'm pretty certain the _DECREF
macros do not change their arguments.
Moshe Zadka <email@example.com>
This is a signature anti-virus.
Please stop the spread of signature viruses!