GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing mail.python.org — [Python-Dev] Accepting PEP 560 -- Core support for typing module and generic types [Python-Dev] Accepting PEP 560 -- Core support for typing module and generic typesYury Selivanov yselivanov.ml at gmail.comFri Dec 15 09:55:04 EST 2017
> I don't see any problems with implementing this on types defined in C. This isn't harder than implementing __sizeof__ or pickling support, and NumPy classes already have implemented both. Maybe Yury forgot about METH_STATIC and METH_CLASS? I just tested __class_getitem__ defined via METH_STATIC and it works. This means we don't need to add slots. Thanks for the hint, Serhiy! Ivan, this might be worth mentioning in the PEP or in the docs. Yury
More information about the Python-Dev mailing list |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |