A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-December/151270.html below:

[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 types [Python-Dev] Accepting PEP 560 -- Core support for typing module and generic typesSerhiy Storchaka storchaka at gmail.com
Fri Dec 15 02:46:25 EST 2017
15.12.17 02:25, Yury Selivanov пише:
> 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.

What are problems? How this differs from __sizeof__ and __getstate__?

More information about the Python-Dev mailing list

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