bitter-ability-32190
01/14/2022, 2:45 PM[python].unowned_dependency_behavior and [python-infer].string_imports š§µbitter-ability-32190
01/14/2022, 2:46 PMstring_imports would be too noisy, as devs would need to # pants: ignore a bunch of lines š¤®bitter-ability-32190
01/14/2022, 2:48 PMunowned_dependency_behavior would only apply to things we're sure are imports:
⢠Import statement
⢠__import__ calls with constant string first arg
⢠(When support is added) importlib.import_module with a constant string argbitter-ability-32190
01/14/2022, 2:52 PMimport_parser separates the "confident" from the "maybe"happy-kitchen-89482
01/14/2022, 3:27 PMhappy-kitchen-89482
01/14/2022, 3:27 PMbitter-ability-32190
01/14/2022, 3:28 PMbitter-ability-32190
01/14/2022, 4:25 PMtry: import X except ImportError: # do whatever as a "maybe" import?bitter-ability-32190
01/14/2022, 4:25 PMhundreds-father-404
01/14/2022, 5:03 PMbitter-ability-32190
01/14/2022, 5:05 PMbitter-ability-32190
01/15/2022, 1:55 AM