[New-bugs-announce] [issue13909] Ordering of free variables in dis is dependent on dict ordering.

Mark Shannon report at bugs.python.org
Mon Jan 30 00:25:34 CET 2012


New submission from Mark Shannon <mark at hotpy.org>:

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

----------
components: Tests
messages: 152284
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: Ordering of free variables in dis is dependent on dict ordering.
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13909>
_______________________________________


More information about the New-bugs-announce mailing list