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 typesGuido van Rossum guido at python.orgThu Dec 14 21:00:30 EST 2017
In the light of Antoine's and Stephan's feedback I think this can be reconsidered -- while I want to take a cautious stance about resource consumption I don't want to stand in the way of progress. On Thu, Dec 14, 2017 at 4:36 PM, Stephan Hoyer <shoyer at gmail.com> wrote: > On Thu, Dec 14, 2017 at 4:29 PM Yury Selivanov <yselivanov.ml at gmail.com> > wrote: > >> On Thu, Dec 14, 2017 at 7:03 PM, Guido van Rossum <guido at python.org> >> wrote: >> My motivation to add the slot wasn't the performance: it's just not >> possible to have a class-level __getitem__ on types defined in C. The >> only way is to define a base class in C and then extend it in >> pure-Python. This isn't too hard usually, though. > > > This could potentially make it much more complicated to adding typing > support to NumPy. numpy.ndarray is defined in C. > > -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171214/6b057a96/attachment-0001.html>
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. |