On 11 November 2017 at 23:40, Koos Zevenhoven <k7ho...@gmail.com> wrote:
> Oops, forgot to reply to the list.
>
>
> On Nov 12, 2017 03:35, "Koos Zevenhoven" <k7ho...@gmail.com> wrote:
>
> On Nov 12, 2017 02:12, "Joao S. O. Bueno" <jsbu...@python.org.br> wrote:
>
> Ben, I have a small package which enables one to do:
>
> with MapGetter(my_dictionary):
>     from my_dictionary import a, b, parameter3
>
> If this interests you, contributions so it can get hardenned for
> mainstram acceptance are welcome.
> https://github.com/jsbueno/extradict
>
>
> Your VersionDict in fact has some similarities to what I have thought of
> implementing using the PEP 555 machinery, but it is also a bit different.
> Interesting...
>

My main issue with that VersionDict is that after I did it, I didn't
had a real case
where to use it. So, it never been used beyond the unit tests and some
playing around.
(I wrote it when dicts in Python got versioning and that was only
visible from the C-API)

I remember the idea for the versioned value retrieved occurred to me
quite naturally when I wrote it,
so it is probably close to the "OOWTDI".



> -- Koos (mobile)
>
>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to