Carlos Ferreira added the comment: (Please ignore the previous post)
PyArg_ParseTupleAndKeywords is not respecting the format string "sy*ss" When using the format "sbss" with the following valid arguments "enp0s8", 0, "08:00:27:da:b3:47", "08:00:27:11:22:33" there is no error and the function succeeds in parsing the arguments. But when using the format "sy*ss" with the following valid arguments, "8bf2f93c-8f44-4960-a2de-71f87130882e", bytes(list([0,0,0,1])), "08:00:27:11:22:33", "10.0.0.3" it will fail stating that the 3rd argument has a null character. ---------- status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20777> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com