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 jarryshaw
Recipients gvanrossum, jarryshaw, kj, levkivskyi
Date 2021-04-20.15:23:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618932239.82.0.0202587381587.issue43893@roundup.psfhosted.org>
In-reply-to
Content
> as discussed in https://bugs.python.org/issue41887

After some additional thoughts, I am thinking that changing the behaviour of ``compile`` in ``'eval'`` mode directly might be a better idea, for consistency all over the builtin functions. 

Especially that it is a bit complex to decide if ``compile`` is called in ``'eval'`` mode all over the code base which may need to patch with ``lstrip`` sanitisation.
History
Date User Action Args
2021-04-20 15:23:59jarryshawsetrecipients: + jarryshaw, gvanrossum, levkivskyi, kj
2021-04-20 15:23:59jarryshawsetmessageid: <1618932239.82.0.0202587381587.issue43893@roundup.psfhosted.org>
2021-04-20 15:23:59jarryshawlinkissue43893 messages
2021-04-20 15:23:59jarryshawcreate