dmnfarrell / tkintertable

A pure Python library for adding tables to a Tkinter application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rows and columns of tablemodel imported from a dictionary are not ordered

fanner01 opened this issue · comments

because the items in python dictionary are not ordered in the order that they're inserted, the rows and columns are not ordered if tablemodel with dictionary is used. the author may consider use an advanced dictionary data structure.

i just checked that it is solved in python 3.7

Changed in version 3.7: Dictionary order is guaranteed to be insertion order. This behavior was implementation detail of CPython from 3.6.

I will shortly add python 3 support so it should work then. Thanks.