mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-10 06:35:50 +08:00
memoize problems with defaults in combination with raised exceptions
This commit is contained in:
1 parent
27f01ca1f6
commit
50c4b7bfd9
3 files changed
+20
-3
No files matched your search
@@ -303,3 +303,17 @@ recurse_class1.C.a
|
||||
# github #239 RecursionError
|
||||
#? ['a']
|
||||
recurse_class1.C().a
|
||||
|
||||
# -----------------
|
||||
# Jedi debugging
|
||||
# -----------------
|
||||
|
||||
# memoizing issues (check git history for the fix)
|
||||
import not_existing_import
|
||||
|
||||
if not_existing_import:
|
||||
a = not_existing_import
|
||||
else:
|
||||
a = not_existing_import
|
||||
#?
|
||||
a
|
||||
Reference in new issue
Block a user