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 remi.lapeyre
Recipients remi.lapeyre, wyz23x2
Date 2020-07-25.13:09:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595682585.56.0.528734678803.issue41394@roundup.psfhosted.org>
In-reply-to
Content
Hi wyz23x2, did you do that from a clean interpreter?

_ is set to the last non-None result: https://github.com/python/cpython/blob/dd8a93e23b5c4f9290e1cea6183d97eb9b5e61c0/Python/sysmodule.c#L690-L696

So what you are seeing is that (None and True) is None, but _ is set to some value that you got from a previous input.

I think the component for this report is "Interpreter core".
History
Date User Action Args
2020-07-25 13:09:45remi.lapeyresetrecipients: + remi.lapeyre, wyz23x2
2020-07-25 13:09:45remi.lapeyresetmessageid: <1595682585.56.0.528734678803.issue41394@roundup.psfhosted.org>
2020-07-25 13:09:45remi.lapeyrelinkissue41394 messages
2020-07-25 13:09:45remi.lapeyrecreate