KomodoEdit
KomodoEdit copied to clipboard
CodeIntel on Komodo IDE 12.0.1 fails when using python3 `with some_context(f"some_f_string_as_parameter")`
Short Summary
Codeintel fails when it locates f-string passed as context parameter of with context(some_parameter)
.
Steps to Reproduce
Last two lines of the following code make codeintel to fail, leading to 'no symbols found' message in Symbol Browser
#!/usr/bin/env python3
# coding: utf-8
if __name__ == '__main__':
extension = '.txt'
with open('some_file' + extension, 'r') as working_context:
print('codeintel works here')
with open(f"another_file{extension}", 'r') as failing_context:
print('codeintel fails if f-string is passed as context parameter')
Expected results
CodeIntel to show me symbols
Actual results
No symbols found.
Platform Information
Komodo Edit or IDE? IDE Komodo Version? version 12.0.1, build 91869, platform linux-x86_64, built on Mon Feb 10 19:37:24 2020 Operating System (and version)? Ubuntu 20.04 , Python 3.8.2
Additional Information
Thanks for the report @leon-id.