[Python-3000] threading, part 2

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Thu Aug 10 00:27:16 CEST 2006


"Guido van Rossum" <guido at python.org> writes:

>> for the same reason one should always incref B before decrefing A in
>>
>>     A = B
>>
>> ...
>
> That reason that A and B might already be the same object, right?

Or B might be a subobject of A, not referenced elsewhere.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Python-3000 mailing list