classification
Title: Add tests for PEP 468 and PEP 520
Type: enhancement Stage:
Components: Tests Versions: Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: eric.snow, serhiy.storchaka
Priority: normal Keywords:

Created on 2018-08-06 12:08 by serhiy.storchaka, last changed 2018-08-06 12:08 by serhiy.storchaka.

Messages (1)
msg323199 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-08-06 12:08
AFAIK there no purposed tests for PEP 468 and PEP 520. If making dict not preserving order, noting related to these PEPs is failed.

I think we need explicit tests for PEP 468 and PEP 520. At least in 3.6 the dict order is not guaranteed. And even in 3.7+ preserving the dict order doesn't guarantee implementing PEP 468 and PEP 520. The order can be broken in a meanwhile (for example by iterating a list of keys in the reversed order).
History
Date User Action Args
2018-08-06 12:08:50serhiy.storchakalinkissue34320 dependencies
2018-08-06 12:08:19serhiy.storchakacreate