mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
#17833: merge with 3.3
This commit is contained in:
commit
1df37c657d
2 changed files with 4 additions and 1 deletions
|
@ -1462,7 +1462,7 @@ class Frame(object):
|
|||
# This assumes the _POSIX_THREADS version of Python/ceval_gil.h:
|
||||
name = self._gdbframe.name()
|
||||
if name:
|
||||
return name.startswith('pthread_cond_timedwait')
|
||||
return 'pthread_cond_timedwait' in name
|
||||
|
||||
def is_gc_collect(self):
|
||||
'''Is this frame "collect" within the garbage-collector?'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue