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.

Author cheryl.sabella
Recipients cheryl.sabella, terry.reedy
Date 2017-12-25.00:42:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1514162543.63.0.213398074469.issue32411@psf.upfronthosting.co.za>
In-reply-to
Content
Terry,

In test_browser, would it be a good test if mock_pyclbr_tree was created as 
`mock_pyclbr_tree = {'C0': C0, 'f0': f0}` 
instead of 
`mock_pyclbr_tree = {'f0': f0, 'C0': C0}`?

The reason that I'm asking is that, under 2.7 and 3.3, this dictionary does not retain the insertion order, but changes it from (C0, f0) to (f0, C0).  

Or did you just want a test that checks that the line numbers are still in order when the code is returned from transform_children?
History
Date User Action Args
2017-12-25 00:42:23cheryl.sabellasetrecipients: + cheryl.sabella, terry.reedy
2017-12-25 00:42:23cheryl.sabellasetmessageid: <1514162543.63.0.213398074469.issue32411@psf.upfronthosting.co.za>
2017-12-25 00:42:23cheryl.sabellalinkissue32411 messages
2017-12-25 00:42:23cheryl.sabellacreate