On Fri, Mar 20, 2020 at 8:24 PM Stephen J. Turnbull < turnbull.stephen...@u.tsukuba.ac.jp> wrote:
> Single leading underscore is reserved for class-private use, so you > could more safely use "sunders" (_pretty_) or "splunders" (_pretty__). > Though this use case really isn't "class-private" -- it's more "package private", but I don't think it's even that. The idea is to allow anyone to make a class that plugs into this system -- so very much like a dunder, but without the blessing of the standard library. Maybe a semi-convention of "trunders" would make sense? ___pretty___ -CHB -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/SBYUIS43HI2LINQ6JBPQH7T6JFCMUKQ4/ Code of Conduct: http://python.org/psf/codeofconduct/