On 23/04/22 7:22 pm, Steven D'Aprano wrote:
He said that could be used as a very primitive form of separation of interface and implementation, by putting the `forward class` in one module and the `continue` in another.
But that only works if there is some way to define the interface of the class's public attributes in the "forward" part without also supplying their definitions. If I remember rightly the "forward" part was only going to include the class name and base classes. -- Greg _______________________________________________ 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/SIK3RXO4ESGQLF5KOB6OEROH2MWTWBS6/ Code of Conduct: http://python.org/psf/codeofconduct/