This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients berker.peksag, eric.smith, serhiy.storchaka
Date 2019-05-06.13:54:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557150875.95.0.0418972995783.issue28002@roundup.psfhosted.org>
In-reply-to
Content
There is the same problem with annotations.

>>> from __future__ import annotations
>>> def f() -> X[f'''{"'"}''']: pass
... 
>>> print(f.__annotations__['return'])
X[f'{"\'"}']

You can look at https://github.com/berkerpeksag/astor. Maybe this problem is solved in that project.
History
Date User Action Args
2019-05-06 13:54:35serhiy.storchakasetrecipients: + serhiy.storchaka, eric.smith, berker.peksag
2019-05-06 13:54:35serhiy.storchakasetmessageid: <1557150875.95.0.0418972995783.issue28002@roundup.psfhosted.org>
2019-05-06 13:54:35serhiy.storchakalinkissue28002 messages
2019-05-06 13:54:35serhiy.storchakacreate