FWIW, I'm in agreement. My "forward class" proposal(s) were me trying
to shine a light to find a way forward; I'm in no way adamant that we go
that direction. If we can make 649 palatable without introducing
forward declarations for classes, that's great! If in the future we
discover more edge cases that Carl's approach doesn't easily solve, we
could always revisit it later. For now it goes in the freezer of "ideas
we aren't moving forward with".
//arry/
On 4/29/22 19:08, Guido van Rossum wrote:
FWIW, Carl presented a talk about his proposed way forward using PEP
649 with some small enhancements to handle cases like dataclasses (*),
and it was well received by those present. I personally hope that this
means the end of the "forward class declarations" proposals (no matter
how wonderful), but the final word is up to the SC.
(*) Mostly fixing the edge cases of the "eval __code__ with tweaked
globals" hack that Carl came up with previously, see
https://github.com/larryhastings/co_annotations/issues/2#issuecomment-1092432875.
--
--Guido van Rossum (python.org/~guido <http://python.org/~guido>)
/Pronouns: he/him //(why is my pronoun here?)/
<http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________
Python-Dev mailing list --python-dev@python.org
To unsubscribe send an email topython-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived
athttps://mail.python.org/archives/list/python-dev@python.org/message/EBDKGKPMOHM674PMUXCVZDRUD5NTIKZB/
Code of Conduct:http://python.org/psf/codeofconduct/
_______________________________________________
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/RXZWTIRVRVHOOKZ6FHIRLQRQBDNCL62X/
Code of Conduct: http://python.org/psf/codeofconduct/