Comments (2)
Thanks for the bug report. This isn't related to f-strings specifically. It affects other string literals too. Pyright/pylance is not properly handling escaped unicode names that contain spaces. I've fixed the problem, and it will be addressed in the next version of pyright/pylance.
from pylance-release.
This issue has been fixed in version 2020.7.0, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#202070-9-july-2020
from pylance-release.
Related Issues (20)
- Support `python.analysis.nodeExecutable` in `.vscode/settings.json` and with `${workspaceFolder}` templating HOT 5
- Pylance Crashing Constantly: `Error: Unhandled method python/isTrustedWorkspace` HOT 14
- A promblem or question about pylance crashing in GPU rental platforms HOT 9
- Exact match suggestions sometimes not shown for symbol import completions
- Searching for "type hints" in the settings UI only shows 2 inlay hints settings, instead of 4
- fails to activate on startup half the time HOT 1
- PEP 695 style type annotations cause the return type arrow (->) to be rendererd as invalid.illegal.annotation.python HOT 4
- Pylance fails to find source files on vscode.dev HOT 2
- reportArgumentType error for matplotlib.cm.ScalarMappable.to_rgba HOT 2
- Offer jedi users to switch to pylance (if they have pylance installed) HOT 2
- How to make pylance respect a "require_type" function HOT 2
- Autoadding a space with tab indentation HOT 1
- Offer `self.` completions for methods and attributes HOT 1
- Pydantic BasicModel with ConfigDict(frozen=True) is not hashable HOT 1
- The parseTreeUtils.findNodeByOffset function returns an incorrect node when using binary search HOT 1
- Unexpected "Code is unreachable" HOT 1
- Syntax highlighting wrong in `for` loop with generator HOT 3
- Support enabling/disabling auto-indent without restarting Pylance HOT 1
- sys.version_info reachability HOT 1
- Syntax tokens are not provided for f-strings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylance-release.