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 Ilya Kamenshchikov, eric.smith, serhiy.storchaka
Date 2020-02-26.16:32:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582734747.88.0.0736180545843.issue39760@roundup.psfhosted.org>
In-reply-to
Content
FYI you can use ast CLI:

$ echo 'f"is {x:d}"' | ./python -m ast
Module(
   body=[
      Expr(
         value=JoinedStr(
            values=[
               Constant(value='is ', kind=None),
               FormattedValue(
                  value=Name(id='x', ctx=Load()),
                  conversion=-1,
                  format_spec=JoinedStr(
                     values=[
                        Constant(value='d', kind=None)]))]))],
   type_ignores=[])
History
Date User Action Args
2020-02-26 16:32:27serhiy.storchakasetrecipients: + serhiy.storchaka, eric.smith, Ilya Kamenshchikov
2020-02-26 16:32:27serhiy.storchakasetmessageid: <1582734747.88.0.0736180545843.issue39760@roundup.psfhosted.org>
2020-02-26 16:32:27serhiy.storchakalinkissue39760 messages
2020-02-26 16:32:27serhiy.storchakacreate