a perhaps naive question, but for someone like me who has never used metaclasses python, can you give an example of why it is useful? (in general, and in yt)


On Tue, Jul 17, 2018 at 11:51 AM Matthew Turk <matthewturk@gmail.com> wrote:
Hi folks,

Is it now safe to use Py3-only features?  If so, are we setting Python 3.6 to be the minimum version?  YTEP-0033 doesn't note specifically.

The specific thing I want to use (using native metaclasses instead of @add_metaclass) isn't Python 3.6 only, but I thought it was as good a time as any to ask.

yt-dev mailing list -- yt-dev@python.org
To unsubscribe send an email to yt-dev-leave@python.org

Michael Zingale
Associate Professor

Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800
phone:  631-632-8225
e-mail: Michael.Zingale@stonybrook.edu
web: http://www.astro.sunysb.edu/mzingale
github: http://github.com/zingale