Author eric.araujo
Recipients Vladimir Ryabtsev, docs@python, eric.araujo, maxking, methane, rhettinger
Date 2020-11-05.20:16:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604607366.5.0.0677503293083.issue42179@roundup.psfhosted.org>
In-reply-to
Content
I prefer the patch by Inada-san!

>> Describing the default behavior and "from None" is enough for new users
> Strange that you think that "from None" is more useful for beginners than these special attributes.

Doesn’t feel strange to me:  `raise Exc from exc` or `from None` shows how to use the mecanism, whereas the special attributes are about the implementation.  A tutorial can show how to use language features like for loops or with statements, but shouldn’t explain how to implement the protocols, that’s too much detail if you’re just starting to learn programming.
History
Date User Action Args
2020-11-05 20:16:06eric.araujosetrecipients: + eric.araujo, rhettinger, methane, docs@python, maxking, Vladimir Ryabtsev
2020-11-05 20:16:06eric.araujosetmessageid: <1604607366.5.0.0677503293083.issue42179@roundup.psfhosted.org>
2020-11-05 20:16:06eric.araujolinkissue42179 messages
2020-11-05 20:16:06eric.araujocreate