On Thu, 4 Feb 2021 at 10:34, Stefano Borini <stefano.bor...@gmail.com> wrote:
> I'd focus only on the use of the feature "from the outside", that is,
> using the indexing operation as a common user.
> For implementing the dunders, it's an advanced feature and it's
> unlikely to be discussed during basic teaching sessions.

I think there's value in having a note about how to promote "best
practices" in implementing the dunders under "How to teach". A
relevant point about the proposal is whether it's too easy for people
to fall into traps when implementing the functionality, and this is a
good section to discuss that. It should be covered by noting where in
the documentation it'll be discussed, so I don't think it's a big
deal, but it's worth having.

Paul
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/HFIK2WNDWHYXZGWVJUBHMMOYRQUSOB6R/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to