[Python-Dev] PEP 520: Preserving Class Attribute Definition Order (round 5) (original) (raw)
Armin Rigo arigo at tunes.org
Mon Jun 27 02:34:28 EDT 2016
- Previous message (by thread): [Python-Dev] PEP 520: Preserving Class Attribute Definition Order (round 5)
- Next message (by thread): [Python-Dev] [RELEASED] Python 3.4.5 and Python 3.5.2 are now available
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
_definitionorder__ _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.
- Previous message (by thread): [Python-Dev] PEP 520: Preserving Class Attribute Definition Order (round 5)
- Next message (by thread): [Python-Dev] [RELEASED] Python 3.4.5 and Python 3.5.2 are now available
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]