Showing content from http://mail.python.org/pipermail/python-dev/attachments/20171215/ccdeb44a/attachment.html below:
<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Dec 14, 2017 at 4:29 PM Yury Selivanov <<a href="mailto:yselivanov.ml@gmail.com">yselivanov.ml@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Dec 14, 2017 at 7:03 PM, Guido van Rossum <<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>> wrote:<br>My motivation to add the slot wasn't the performance: it's just not<br>
possible to have a class-level __getitem__ on types defined in C. The<br>
only way is to define a base class in C and then extend it in<br>
pure-Python. This isn't too hard usually, though.</blockquote><div><br></div><div>This could potentially make it much more complicated to adding typing support to NumPy. numpy.ndarray is defined in C.</div><div><br></div></div></div>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4