LionHeart123 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Variables window is not ordering dictionary entries by index value. #677

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Continuing on from issue 676, do the following:
1. Expand the edge member of G.

Observe that entries are ordered based on the first digit of the index rather 
than the value of the index. Typing print self.G.edge in the Interpreter window 
tends to suggest that Python maintains this dictionary in the order of index 
value.

What version of the product are you using? On what operating system?
2.5.3.0 x64 Win7-64.

Please provide any additional information below.
Please see screenshot attached to issue 676.

Original issue reported on code.google.com by haslett....@gmail.com on 25 Jul 2012 at 9:35

GoogleCodeExporter commented 9 years ago
I am not sure what the issue is.   As a help to the user, PyScripter allows the 
inspection of the contents of dictionaries (as well as lists) in the Variables 
Window.  Dictionaries have no natural order in general, but PySripter displays 
then using the alphabetical order of the keys.

Original comment by pyscripter on 26 Jul 2012 at 8:31