gijzelaerr / python-snap7

A Python wrapper for the snap7 PLC communication library
http://python-snap7.readthedocs.org/
MIT License
632 stars 246 forks source link

Replace `OrderedDict` with the built-in `dict` #520

Closed nikteliy closed 2 weeks ago

nikteliy commented 1 month ago

Since Python 3.7, the built-in dict type maintains insertion order by default. Do we need to continue using OrderedDict? Unless we have a specific reason, I suggest that we replace OrderedDict with the built-in dict.

lupaulus commented 1 month ago

+1

gijzelaerr commented 2 weeks ago

implemented in this PR https://github.com/gijzelaerr/python-snap7/pull/524