[Python-Dev] PEP 550 v4
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Sep 6 20:06:36 EDT 2017
Nathaniel Smith wrote:
> The implementation strategy changed radically between v1
> and v2 because of considerations around generator (not coroutine)
> semantics. I'm not sure what more it can do to dispel these feelings
> :-).
I can't say the changes have dispelled any feelings on my part.
The implementation suggested in the PEP seems very complicated
and messy. There are garbage collection issues, which it
proposes using weak references to mitigate. There is also
apparently some issue with long chains building up and
having to be periodically collapsed. None of this inspires
confidence that we have the basic design right.
My approach wouldn't have any of those problems. The
implementation would be a lot simpler.
--
Greg
More information about the Python-Dev
mailing list