comparison Python/pythonrun.c @ 87071:10a8e676b87b

Issue #19466: Fix typo. Patch written by Vajrasky Kok.
author Victor Stinner <victor.stinner@gmail.com>
date Tue, 12 Nov 2013 17:18:51 +0100
parents c2a13acd5e2b
children 518e3b174120
comparison
equal deleted inserted replaced
87070:c2a13acd5e2b 87071:10a8e676b87b
579 /* Destroy the state of all threads except of the current thread: in 579 /* Destroy the state of all threads except of the current thread: in
580 practice, only daemon threads should still be alive. Clear frames of 580 practice, only daemon threads should still be alive. Clear frames of
581 other threads to call objects destructor. Destructors will be called in 581 other threads to call objects destructor. Destructors will be called in
582 the current Python thread. Since _Py_Finalizing has been set, no other 582 the current Python thread. Since _Py_Finalizing has been set, no other
583 Python threads can lock the GIL at this point (if they try, they will 583 Python threads can lock the GIL at this point (if they try, they will
584 exit immediatly). */ 584 exit immediately). */
585 _PyThreadState_DeleteExcept(tstate); 585 _PyThreadState_DeleteExcept(tstate);
586 586
587 /* Collect garbage. This may call finalizers; it's nice to call these 587 /* Collect garbage. This may call finalizers; it's nice to call these
588 * before all modules are destroyed. 588 * before all modules are destroyed.
589 * XXX If a __del__ or weakref callback is triggered here, and tries to 589 * XXX If a __del__ or weakref callback is triggered here, and tries to