[issue17422] language reference should specify restrictions on class namespace

Eric Snow report at bugs.python.org
Thu Feb 27 19:54:37 EST 2020


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

Thanks for working on this.  Sorry I didn't get a chance to see your PR sooner.  There was one small thing that needs to be changed back, as I implied in my comment on the PR [1].  Please undo the change in the text from "ordered mapping" to "dict".

The original "is initialised as an empty ordered mapping" text line should be restored.  "dict" is currently still not correct (the language spec does not dictate that dict be ordered).  However, PEP 520 specifies that it must be ordered.

Thanks!


[1] https://github.com/python/cpython/pull/18559#pullrequestreview-366098695

----------
resolution: fixed -> 
stage: resolved -> needs patch
status: closed -> open
versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue17422>
_______________________________________


More information about the Python-bugs-list mailing list