[Python-Dev] Re: Make HAMT available to python script

2022年4月01日 18:34:43 -0700

On Fri, Apr 1, 2022 at 4:06 AM Steve Dower <[email protected]> wrote:
> The main difference is that 'immutables' offers you a stable/versioned
> interface to use it, while the one that's in CPython is an internal
> implementation detail. If one day we find a better design, we can just
> switch to it, while 'immutables' probably can't. If we've exposed as a
> public interface in the core runtime, it's much more complicated.
>
I don't understand the issue here:
If we expose a "frozendict" as built in python object then only the API of
that object needs to remain stable, not the implementation.
And it seems that's an API that is already clearly defined.
+ 1 from me -- just the other day I was wishing it was there.
-CHB
-- 
Christopher Barker, PhD (Chris)
Python Language Consulting
 - Teaching
 - Scientific Software Development
 - Desktop GUI and Web Development
 - wxPython, numpy, scipy, Cython
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/MSVMBGTH3GIZR2BXXKXKO52BE5NJAZ2R/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to