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 david2
Recipients david2, mark.dickinson
Date 2021-11-22.08:43:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to <[email protected]>
Content
Hi Mark,

Thanks.  

The anomaly is that the print("eg def2", ...)  works.  Should it not fail in the same way that print("eg def4", ...) does.

David

On 22/11/2021 7:36:31 PM, Mark Dickinson <[email protected]> wrote:

Mark Dickinson added the comment:

Thanks for the report. The behaviour is by design: see #5242 (especially msg81898) for an explanation.

Closing this issue as a duplicate of #5242.

----------
nosy: +mark.dickinson
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> eval() function in List Comprehension doesn't work

_______________________________________
Python tracker

_______________________________________

[755e9508-5fde-465a-ac8e-d82585c103f3]
History
Date User Action Args
2021-11-22 08:43:33david2setrecipients: + david2, mark.dickinson
2021-11-22 08:43:33david2linkissue45862 messages
2021-11-22 08:43:33david2create