On Wed, Dec 09, 2020 at 11:17:19AM +1100, Steven D'Aprano wrote: > > "__init__ as a substring - as weird as that may be - should be allowed. > > This is because it is only the exact "__init__" filename that is treated > > specially by the filename resolver. > > Okay, that's what I thought you meant, but your insistence on this test: > > "__init__" in fullname.split(".")
Oops, I got distracted and didn't complete that thought. I think it is redundant -- I covered the issues with the fullname.split test in other parts of my email. Sorry for any confusion. -- Steve _______________________________________________ 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/5HM5MVYDKBC4ZNQEJNSO26M2Y6ZQFPSP/ Code of Conduct: http://python.org/psf/codeofconduct/