From ac17851de5340b6efa74f358f36a8fc167718470 Mon Sep 17 00:00:00 2001 From: Zeck Date: Fri, 1 Oct 2021 00:40:21 -0500 Subject: [PATCH] remove check for start_new in thread so jython works --- .../pysrc/_pydev_imps/_pydev_saved_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/org.python.pydev.core/pysrc/_pydev_imps/_pydev_saved_modules.py b/plugins/org.python.pydev.core/pysrc/_pydev_imps/_pydev_saved_modules.py index eb95eccf95..9b01a6513d 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydev_imps/_pydev_saved_modules.py +++ b/plugins/org.python.pydev.core/pysrc/_pydev_imps/_pydev_saved_modules.py @@ -94,7 +94,7 @@ def check(self, module, expected_attributes): if IS_PY2: with VerifyShadowedImport('thread') as verify_shadowed: - import thread; verify_shadowed.check(thread, ['start_new_thread', 'start_new', 'allocate_lock']) + import thread; verify_shadowed.check(thread, ['start_new_thread', 'allocate_lock']) with VerifyShadowedImport('Queue') as verify_shadowed: import Queue as _queue; verify_shadowed.check(_queue, ['Queue', 'LifoQueue', 'Empty', 'Full', 'deque'])