Correctly identify the variant selector following a unicode emoji in an f-string.
Raises a warning stating unexpected token and "VARIATION" is not defined.
variable = f"\N{BLACK QUESTION MARK ORNAMENT}\N{VARIATION SELECTOR-16}"
This is pretty much what produced the output below.

I didn't realize that "-" was an allowed character in a "\N" escape. The Python spec on lexical analysis is vague about what it accepts here. It simply says:
\N{name} : Character named聽name聽in the Unicode database
Do you happen to know if there are other characters besides a-zA-Z0-9 and "-" within a Unicode name?
I haven't had any other warning/error occur apart from this specific one.
Thanks again for reporting this. I've introduced a fix, and it will be included in an upcoming version of Pylance. I don't know if it will make it into this week's build.
This issue has been fixed in version 2020.8.2, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#202082-20-august-2020
Most helpful comment
Thanks again for reporting this. I've introduced a fix, and it will be included in an upcoming version of Pylance. I don't know if it will make it into this week's build.