This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Ordering of free variables in dis is dependent on dict ordering.
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Mark.Shannon, ncoghlan
Priority: normal Keywords:

Created on 2012-01-29 23:25 by Mark.Shannon, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg152284 - (view) Author: Mark Shannon (Mark.Shannon) * (Python committer) Date: 2012-01-29 23:25
This only seems to apply to free variables, not local or cell variables.

The offending tests are lines 429 & 430 of Lib/test/test_dis.py
      (tricky, code_info_tricky),
      (co_tricky_nested_f, code_info_tricky_nested_f),


Changing PyDict_MINSIZE to 4 provokes this failure
python3 -m test.test_dis
msg154129 - (view) Author: Mark Shannon (Mark.Shannon) * (Python committer) Date: 2012-02-24 10:11
Fixed by revisions 224ebf9d428a and 38828f0c9312
History
Date User Action Args
2022-04-11 14:57:26adminsetgithub: 58117
2012-02-24 10:31:39ezio.melottisetstage: test needed -> resolved
2012-02-24 10:11:57Mark.Shannonsetstatus: open -> closed
resolution: fixed
messages: + msg154129
2012-02-04 02:32:54terry.reedysetnosy: + ncoghlan
stage: test needed

versions: + Python 3.3
2012-01-29 23:25:33Mark.Shannoncreate