Why is int(int(...)) used in unpack_bitstring? #2314
-
Hi, I haven't made tons of tests, I just have watched the code and I wonder why pymodbus/pymodbus/utilities.py Line 141 in eb1d574 I doubt that this kind of workaround is needed in python3.9+. But I would like to have an expert input. Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
janiversen
Sep 11, 2024
Replies: 1 comment
-
You might be right, but what is the problem? does the code not work ? There are with security tons of lines that could be written more efficiently. Please submit a pull request if you want it changed. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MrWaloo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You might be right, but what is the problem? does the code not work ?
There are with security tons of lines that could be written more efficiently.
Please submit a pull request if you want it changed.