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/2001-November/018615.html below:

[Python-Dev] Experimental features and __slots__

[Python-Dev] Experimental features and __slots__ [Python-Dev] Experimental features and __slots__Martin v. Loewis martin@v.loewis.de
Wed, 14 Nov 2001 22:01:29 +0100
Recently, there has been a concern that if __slots__ is added to the
language, we'll be stuck with it forever. I want to propose a strategy
that doesn't require things to be cast in stone right now.

PEP 5 should be enhanced to allow the notion of experimental
features. Programs using experimental features should expect to break
from one release to another, with no need to deprecate the
experimental feature. If desired, __future__ import could be required
to activate experimental features, with a prospect that they disappear
in the next release. However, this is not strictly necessary:
Documenting experimental features may be sufficient.

For 2.2, I propose that all __ attributes relating to new-style
classes are experimental.

Regards,
Martin




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