research-virtualfortknox / msb-client-websocket-python

The python client library to connect to the websocket interface of the MSB (Manufacturing Service Bus)
Apache License 2.0
5 stars 4 forks source link

Modifying dict while iterating over it creates runtime error in Pytho… #9

Closed stozk closed 4 years ago

stozk commented 4 years ago

…n 3.8, dict is converted to list for fix.

Summary: Compatibility issue for Python 3.8 (modifying dicts while iterating over them)

Full changelog:

getSelfDescription() method was modifying dicts which it was iterating over, which creates a runtime error in Python 3.8. The dict is being converted into a list before being changed to fix the problem.

Related issues:

None

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information