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/2016-June/145428.html below:

[Python-Dev] PEP 520: Preserving Class Attribute Definition Order (round 5)

[Python-Dev] PEP 520: Preserving Class Attribute Definition Order (round 5) [Python-Dev] PEP 520: Preserving Class Attribute Definition Order (round 5)Armin Rigo arigo at tunes.org
Mon Jun 27 02:34:28 EDT 2016
Hi,

On 24 June 2016 at 23:52, Eric Snow <ericsnowcurrently at gmail.com> wrote:
> Pending feedback, the impact on Python implementations is expected to
> be minimal.  If a Python implementation cannot support switching to
> `OrderedDict``-by-default then it can always set ``__definition_order__``
> to ``None``.

That's wishful thinking.  Any Python implementation that sets
``__definition_order__`` to None where CPython sets it to something
useful is likely going to break programs and be deemed not fully
compatible.  (Note: this PEP is not a problem for PyPy.)


A bientôt,

Armin.
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