>
> > It would still require other types to add and maintain __mapping__
> dunders.


Sure — but that is inherent in this whole idea — nothing other than the
type object itself could possibly know how to dictify itself.

Though yeah, that’s the key question— how often is this useful???

-CHB
-- 
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to