churchyard / rpms / python38

Forked from rpms/python38 5 years ago
Clone
9d658b4
diff -up Python-3.3.1/Misc/NEWS.fix-test_gdb-test_threads Python-3.3.1/Misc/NEWS
9d658b4
diff -up Python-3.3.1/Tools/gdb/libpython.py.fix-test_gdb-test_threads Python-3.3.1/Tools/gdb/libpython.py
9d658b4
--- Python-3.3.1/Tools/gdb/libpython.py.fix-test_gdb-test_threads	2013-05-09 12:12:01.621592211 -0400
9d658b4
+++ Python-3.3.1/Tools/gdb/libpython.py	2013-05-09 12:12:01.632592209 -0400
9d658b4
@@ -1465,7 +1465,7 @@ class Frame(object):
9d658b4
         # This assumes the _POSIX_THREADS version of Python/ceval_gil.h:
9d658b4
         name = self._gdbframe.name()
9d658b4
         if name:
9d658b4
-            return name.startswith('pthread_cond_timedwait')
9d658b4
+            return 'pthread_cond_timedwait' in name
9d658b4
 
9d658b4
     def is_gc_collect(self):
9d658b4
         '''Is this frame "collect" within the garbage-collector?'''