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 larry
Recipients JelleZijlstra, barry, eric.smith, gvanrossum, kj, larry, lukasz.langa, methane, xtreak
Date 2021-04-24.08:03:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Perhaps eval_str=ONLY_IF_STRINGIZED should also add the semantics "if evaluating any string fails, behave as if eval_str=false".  I would *not* propose adding that for eval_str=true.  But people keep asking for this.  Hmm.

The heuristic is a tricky thing.  That's why in my "PEP 1212" idea I proposed a way that a function like get_annotations() could determine unambiguously whether or not the annotations for an object were stringized.  (And, if we did do something like that in a future Python version, this would also change the "if evaluating any string fails" behavior I just proposed.)
Date User Action Args
2021-04-24 08:03:33larrysetrecipients: + larry, gvanrossum, barry, eric.smith, methane, lukasz.langa, JelleZijlstra, xtreak, kj
2021-04-24 08:03:33larrysetmessageid: <>
2021-04-24 08:03:33larrylinkissue43817 messages
2021-04-24 08:03:32larrycreate